After changing my RC to ER9X software (followed by radio calibration, ESC calibration, compass calibration, accelerometer calibration), changing loiter flight mode to PosHold and defining RTL for the ch8 switch, plus modifying Thr-DZ=50 and Thr-Mid=620, my quadcopter does not return to launch nor lands when RTL mode engages (via ch8 switch as well as via battery voltage failsafe): see flight log dropbox.com/s/b8ynng9qutlea … .bin?dl=0; first RTL = switch; second RTL = battery FS.
Switching to RTL was confirmed by APM Planner (and the log). Home position: 7 sats at arming, 9 resp 10 at RTL, HDOP at arming <2.0, GPS position confirmed to be correct in APM Planner map.
Behaviour at RTL: copter climbs very slowly, no horizontal movement, no reaction to pitch and roll sticks. Intended RTL=“climb to 30m, fly to home, land”. Regained control when switching back to PosHold or AltHold. Behaviour confirmed in two later flights. In the past, RTL worked perfectly for same copter, same APM Copter version. Vibration, compass error etc seems to be OK.
I have no idea what caused this change in behaviour, nor do I know where to start looking for correcting it. Any help appreciated!
Pixhawk with latest APM Copter 3.2
Hobbyking 9X with ER9X firmware
From the logs it looks like it did go into RTL. The problem in each case is that you overrode this option.
When you set switch 8 to do RTL it must stay in that position otherwise it will return to what ever mode was last used.
When battery failsafe happens the copter went into RTL. You then selected ALT Hold and later Position hold. This overrides RTL and stops it from continuing in that mode.
Let me clarify: in both cases (switch & battery failsafe), I switched back to Poshold because my copter did not do anything in RTL mode.
When RTL worked in the past, my copter immediately and rapidly climbed to 30m, flew to the home position, hovered 5" above home and landed. The last three flights, the copter hardly climbed and did not fly home; it just stayed hovering. To get control back, I switched to Poshold after about 40".
I Just tried out RTL again, but now for several minutes. Only change to parameters compared to last time: RTL_ALT=1500 instead of 3000 during previous flight.
Observed behaviour the same: copter very slowly and steadily climbs while keeping horizontal position. At close to 40m above ground (well above the 15m dictated by RTL_ALT!), I switched to AltHold and PosHold to bring back the copter since I was exceeding the legal limit of 30m.
Datalog file: dropbox.com/s/x12sp3a35entm … 4.bin?dl=0
tlog file: dropbox.com/s/67wojlj5zhmwt … .tlog?dl=0
As indicated in my first post, RTL worked in the past for the same copter. See datalog dropbox.com/s/hdbel2a797rqv … 4.bin?dl=0 where RTL was engaged at the end of the flight (battery failsafe); copter rapidly climbed to 15m, came home and landed as it should.
You found it indeed, Mike. Many thanks!!! I just had a perfect RTL.
I am still building my copter (reprogramming RC, adding FPV, making it lighter,learning to fly, …) and never tried auto mission. I hence never changed WPNAV parameters (knowingly) and hence never checked whether they got changed… I should have done this…
Any tools around that allow to quickly compare parameter settings from multiple logs?
Although I am flying 3.4.5 I have the same problem. I can fly an auto mission but it just will not RTL. It stays hovering above the RTL position and never lands. What should these parameters be set to?
I too have had perfect RTL results before the latest firmware upgrade so the parameters must have changed them.
Actually the Flight log has more information in it. It will tell me what you did and what mode it was in. If you can provide the flight log that would be great. It also has your parameters in it when it flew.
I let the heli fly the mission and then left it to RTL. I did move the throttle stick to minimum and then to max and back to min so you will be able to see that. Eventually the heli went into loiter - I’m not sure why. I landed it in loiter.
Hope you can help. I previously flew RTL brilliantly every time. Now it just wont cooperate.