Hello everyone,

While flying inside with a quadrotor with an HKPilot32 running ArduCopter V3.6-dev (why a dev version was used is another discussion...) and equipped with a LIDAR-Lite 3 and a disabled GPS, the quadrotor hit the roof (battery disconnected at that time) when we activated the auto land mode.
From the DataFlash logs, we see that CTUN.DAlt (Controller TUNing Desired Altitude) was set to around 4.6 m at that time (which is consistent with the quadrotor sudden ascension), while the quadrotor was flying around 1-2 m of altitude when land mode was activated. We see also that a previous land succeeded 2 min before, so the problem was quite unexpected.

Although the Auto Analysis function on our log suggests that we had accelerometers accuracy problems, I do not understand why CTUN.DAlt got this value considering the current altitude estimation. How is the desired altitude chosen in land mode? Also, is CTUN.Alt the best altitude estimation used by the land controller, or is it another one (I looked also to XKF1.PD but it is quite similar, but with the opposite sign)?

Thank you for letting me know if you have explanations on this behavior (log is in attachement)!

crash_iqx.7z

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • To be more clear : it appears that during AltHold with throttle to the min, the drone descended a little bit but it was not noticeable during the flight. In addition, neither Guided waypoints nor RTL made the drone come to the expected position and altitude, which resulted in a wrong panic reaction for the pilot!


    Fabrice LE BARS said:

    We got another similar behavior with an hexacopter climbing outside in Land mode (as well as RTL, AltHold with throttle set to the min, only Stabilize make it fall, see attachment), but I think now I know why.

  • We got another similar behavior with an hexacopter climbing outside in Land mode (as well as RTL, AltHold with throttle set to the min, only Stabilize make it fall, see attachment), but I think now I know why.

    In this flight, we had 2 propellers with a damaged end, making them unbalanced and probably leading to high vibrations. By looking closer to the VIBE values and the recommendations on http://ardupilot.org/copter/docs/common-measuring-vibration.html , it appears that both flights had too much vibrations. This post also seems to have the same problem : http://diydrones.com/forum/topics/uncontrolled-climbing-in-auto-mod... .

    However, I am still a little bit surprised that even with at least 2 sensors that work correctly (baro and LIDAR-Lite for the quadrotor inside, baro and GPS for the hexarotor outside), the drone is still not able to realize that it is climbing while it should not...

    2017-08-13 16-15-28.zip

    Measuring Vibration — Copter documentation
  • Thank you, indeed, our RTL_ALT value was set to a dangerous value for our indoor environment, we definitely need to add that to our check-list.

    However, the documentation of the LAND mode do not specify that this value is used, and in our case it was set to 15 m which does not seem to correspond to the 4.6 m that our drone wanted to reach. And the log does not seem to mention that a RTL or any failsafe was activated at any time.
    I tried also to look closely to our LIDAR data to check if there was any "ghost" obstacle but there is nothing visible. I do not see other potential reasons for the drone to climb in the documentation of the LAND mode for now.
    I noticed also the existence of the GND_ABS_PRESS parameter but its value looks correct.

  •  I know the RTL command "RTL_ALT: RTL Altitude" can be set to climb to a certain height before a RTL  Needs to be set to 0 to avoid a climb I believe.

    I had a low battery FS kick in once, copter went to RTL mode as programmed for that event,( that I didn't realize at time), climbed to ceiling, which was too low for RTL Altitude and stayed trying to climb till I think I switched mode to STAB and I regained throttle control . Have been careful with any indoor testing and FailSafe settings since!

    Look here for settings:

    http://ardupilot.org/copter/docs/parameters.html#rtl-alt-rtl-altitude

    Also here for LAND information from WIKI, talks about sonar but maybe same applies to LIDAR sensing an obstacle as well?

    http://ardupilot.org/copter/docs/land-mode.html

    Joe

    Joe

    Complete Parameter List — Copter documentation
  • 3702377549?profile=original

    Here is a screenshot that shows what happenned, where we see that the quadrotor tried to go to 4.6 m of altitude because of the CTUN.DAlt value.

This reply was deleted.

Activity

DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…