Maybe I'm doing something stupid, or don't understand something, but on my simple flight plan this morning I had a 3 turn loiter command. When my plane reached the position, it simply kept on circling, never exiting even after 6+ turns.
Did I do something wrong in my flight plan?
I'm attaching both tlog and waypoint files.
Thanks for any help. I'm flying V2.28.
You do know that there are three types of loiter commands, don't you? 1 - Loiter unlimited, 2 - Loiter x turns, 3 - loiter x time. If you are using the first you will never leave the loiter. Generally that command is used to end a mission, or in conjunction with a conditional command. The other two loiter commands you specify a number of turns you wish to remain in the loiter, or an amount of time...
Of course :) See my flight plan, it's definately in Loiter Turns command. On the APM Planner the first parameter column turned to "Turns" to confirm this.
It just never moves to the next waypoint and keeps on loitering.
I'm thinking this could be a bug in the APM 2.8?
Can somebody at least confirm that their Loiter Turns is working correctly?
I had the same problem in the beginning. You must tune your APM before that, so it will stay within the loiter radius secten time each turn. After a better tunning it does 0.5 to 1 more circules that it should do. This is relate to the fisrt time it was within the correct radius.
try to increase the requierd radius
Thank you! It makes sense, though it carves a pretty perfect circle no matter what the wind does. I'm using the standard posted Skywalker tuning values.
I'll increase the loiter radius and see if it helps.
Did a test today. Increased the loiter radius to 100m, it still just keeps on circling indefinately.
I've tested time based loitering, which works perfectly. I'm going to log a bug. Ok, scratch that - I see I'm behind on my version again (2.8)!
I had a problem with LOITER_TURNS today as well. However, it was a little different to yours. In my case, as soon as the command was executed, the quad went haywire and took off from what was a quite controlled auto flight and crashed.
Sorry to hear Simon, hope you can recover soon.
My problem dissappeared as soon as I upgraded to Arduplane 3.4.