While in RTL, continued to climb above RTL ALT

I need help understanding what happened during my flights today.

I have a 360 class quad with 4 MT2208s, 8045 props, and a 3000mah battery.

With my first battery it was flying pretty well. I did some high speed maneuvers in loiter/althold/poshold and it worked without issue. I also tested RTL a couple of times with no issue. I stupidly over discharged the battery, and luckily had a pretty soft landing. I did not attach the log file for this, but I can if you guys think its relevant.

After that flight, things started to go wrong.

I put in a new battery, and after power up I got some GPS errors. I waited until they cleared, and then tried to take off. I don’t exactly remember what I was doing. The log says I was in stabilize mode, but I thought I was in loiter. Anyways, the quad started climbing erroneously, and I hit RTL. It just kept climbing (above the RTL altitude). I frantically tried switching between a couple of modes, with no response. I finally got it to come down with land/stabilize, and noticed the error tone from the buzzer.

My first impression was that maybe the altitude was messed up, and RTL wasn’t working. The log file clearly shows the GPS and baro alt looking good. So I have no clue as to what might have caused it to continue to climb so much.

After my nerves calmed down a bit, I tried to do another flight. I then had issues trying to arm it in loiter, even thought I had a good hdop. I don’t exactly recall what it was complaining about (How do I get mission planner to spit out the error messages it encountered when looking at the dataflash logs? ) I eventually said screw it, and tried to take off in stabilize to see if it would “settle down”. The flight performance was very off-nominal, and I immediately landed it. I spent a lot of time trying to debug after this flight, but unfortunately did not record dataflash logs. I kept getting numerous pre-arm check errors. The most apparent complaint by mission planner was that the altitude was jumping, and the yaw kept spinning slowly.

I also unplugged the battery for 10 minutes and then plugged it back in to see if that would affect anything – no dice.

several hours later, I powered it back up in my living room. GPS had no issue getting a lock (even though hdop was poor), and it was not exhibiting the spinning yaw issue.

Any help would be greatly appreciated.

  • ek

If it helps, I am using a genuine 3DR pixhawk. I am experiencing the altitude hold oscillation issue (sometimes), but i don’t think that has any relation to this.

In the flight just before, the log shows POSCON_THR_HOVER set to 491. In the flight in which it went above the RTL altitude, it was 659. Is it possible that RTL was trying to command to a hover based on this value but since it was lighter, it kept going up?

My throttle out was averaging about 490-520 during the erroneous climb.

I’m still not sure how to interpret what is happening in these logs… Here is a sample output from the APM flight log analysis:

[code]24/04/2015 22:46:29 - 006764: Mode Changed to RTL
24/04/2015 22:46:29 - 006764: Mode Initialised at 32.8415847 -117.2136773 Alt: 91.8 Spd:0.48
24/04/2015 22:46:45 - 009679: EKF/ Inertial Nav Check ERROR: Bad Variance.
24/04/2015 22:46:45 - 009680: EKF/InertialNav Failsafe ERROR: Undocumented EKF/InertialNav Failsafe Error.
Alt(m ~ ft) Spd(m/s ~ mph) Dist(km ~ mi) Launch(m ~ ft) GPS-Sats GPS-Hdop Eff(mA/min)
Max 131 ~ 429 8 ~ 17 0.02 ~ 0.02 6.63 ~ 21.75 13 1.24 N/A
Avg 113 ~ 370 1 ~ 2 N/A ~ N/A N/A ~ N/A 13 1.24 ~~~
Min 92 ~ 301 0 ~ 0 N/A ~ N/A 1.18 ~ 3.87 13 1.24 N/A
Land Flight Time (Session)= 15 seconds, 0:15
Land Flight Time (Total)= 33 seconds, 0:33

24/04/2015 22:46:45 - 009681: Mode Changed to Land
24/04/2015 22:46:45 - 009681: Mode Initialised at 32.8416593 -117.2136544 Alt: 131.26 Spd:7.83
Limited Data Available - Mode Ignored

24/04/2015 22:46:45 - 009785: Mode Changed to Stabilize
24/04/2015 22:46:45 - 009785: Mode Initialised at 32.8416623 -117.2135998 Alt: 131.81 Spd:9.33
24/04/2015 22:46:46 - 009908: FLIGHT MODE ERROR: the vehicle was unable to enter RTL mode.
24/04/2015 22:46:47 - 010046: EKF/ Inertial Nav Check ERROR: Bad Variance cleared.
24/04/2015 22:46:47 - 010047: EKF/InertialNav Failsafe ERROR: Undocumented EKF/InertialNav Failsafe Error.
24/04/2015 22:46:50 - 010702: EKF/ Inertial Nav Check ERROR: Bad Variance.[/code]

I am still at a loss as to what happened… Any ideas?