forked from Archive/PX4-Autopilot
navigator: avoid climbing up for LOITER after RTL
This commit is contained in:
parent
3d21a73ddf
commit
8de35025b5
|
@ -1575,6 +1575,7 @@ Navigator::on_mission_item_reached()
|
|||
dispatch(EVENT_LAND_REQUESTED);
|
||||
|
||||
} else {
|
||||
_reset_loiter_pos = false;
|
||||
dispatch(EVENT_LOITER_REQUESTED);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue