mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 05:13:33 +08:00
Navigator: Don't switch to RTL if already in landing phase of mission.
This commit is contained in:
@@ -717,6 +717,7 @@ void Navigator::run()
|
||||
// If we are already in mission landing, do not switch.
|
||||
if (_navigation_mode == &_mission && _mission.isLanding()) {
|
||||
navigation_mode_new = &_mission;
|
||||
break;
|
||||
|
||||
} else {
|
||||
_pos_sp_triplet_published_invalid_once = false;
|
||||
|
||||
Reference in New Issue
Block a user