Owne / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Loiter from flight mode switch, confusing behaviour #216

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Take off in manual
2. Enter Auto or RTL, optionally return to manual
3. Enter loiter mode via the flight mode switch

What is the expected output? What do you see instead?
Expect to loiter about the aircraft's position where the flight mode switch was 
set to loiter, because the wiki says "Aircraft will circle in current position"

Actually flies to the current loaded waypoint and loiters there. If no waypoint 
is loaded, then it flies in a straight line.

What version of the product are you using? On what operating system?
r1301 w/ Xplane on windows XP

Please provide any additional information below.
My understanding is that to loiter over the current position you would have to 
add a waypoint when loiter mode is entered, which could muck up the mission 
plan?

Original issue reported on code.google.com by cgw...@gmail.com on 24 Oct 2010 at 9:42

GoogleCodeExporter commented 8 years ago

Original comment by dewei...@gmail.com on 25 Oct 2010 at 5:42

GoogleCodeExporter commented 8 years ago
Exactly the same behavior here. When switching to Loiter plane slows down and 
continuous in a straight line. Stabilization in Loiter works as expected.

Original comment by patrik.r...@gmail.com on 26 Oct 2010 at 12:44

GoogleCodeExporter commented 8 years ago
added loiter_at_location() function call.

Original comment by jasonshort on 30 Oct 2010 at 4:11