From 3ac7ed6afa557193d1baa7ef92c793d2e692cf29 Mon Sep 17 00:00:00 2001 From: Konrad Date: Sat, 11 Nov 2023 17:34:39 +0100 Subject: [PATCH] mission_base: Do not reset mission on invalid mission upload --- src/modules/navigator/mission_base.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/navigator/mission_base.cpp b/src/modules/navigator/mission_base.cpp index 63a49888a8..c95047d1ad 100644 --- a/src/modules/navigator/mission_base.cpp +++ b/src/modules/navigator/mission_base.cpp @@ -142,7 +142,6 @@ void MissionBase::onMissionUpdate(bool has_mission_items_changed) // only warn if the check failed on merit if ((!_navigator->get_mission_result()->valid) && _mission.count > 0U) { PX4_WARN("mission check failed"); - resetMission(); } }