Navigator: Don't switch to RTL if already in landing phase of mission.

This commit is contained in:
Konrad
2023-10-31 14:16:02 +01:00
committed by Roman Bapst
parent c1214c847f
commit a4d05085a7
2 changed files with 28 additions and 15 deletions
+1
View File
@@ -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;