RTL_mission_fast: continue mission if RTL is triggered while in Mission

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2024-05-27 12:03:16 +02:00
parent f9e2ab8d44
commit b9d3b9f211
3 changed files with 27 additions and 9 deletions
+7 -7
View File
@@ -314,6 +314,13 @@ protected:
*/
bool position_setpoint_equal(const position_setpoint_s *p1, const position_setpoint_s *p2) const;
/**
* @brief Set the Mission Index
*
* @param[in] index Index of the mission item
*/
void setMissionIndex(int32_t index);
bool _is_current_planned_mission_item_valid{false}; /**< Flag indicating if the currently loaded mission item is valid*/
bool _mission_has_been_activated{false}; /**< Flag indicating if the mission has been activated*/
bool _mission_checked{false}; /**< Flag indicating if the mission has been checked by the mission validator*/
@@ -421,13 +428,6 @@ private:
*/
bool cameraWasTriggering();
/**
* @brief Set the Mission Index
*
* @param[in] index Index of the mission item
*/
void setMissionIndex(int32_t index);
/**
* @brief Parameters update
*