mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 22:58:10 +08:00
Only check mission when needed
This commit is contained in:
+149
-104
File diff suppressed because it is too large
Load Diff
@@ -211,7 +211,8 @@ private:
|
||||
/**
|
||||
* Check wether a mission is ready to go
|
||||
*/
|
||||
void check_mission_valid();
|
||||
void check_mission_valid(bool force);
|
||||
|
||||
|
||||
/**
|
||||
* Reset offboard mission
|
||||
@@ -244,6 +245,7 @@ private:
|
||||
} _mission_type;
|
||||
|
||||
bool _inited;
|
||||
bool _home_inited;
|
||||
bool _need_mission_reset;
|
||||
|
||||
MissionFeasibilityChecker _missionFeasibilityChecker; /**< class that checks if a mission is feasible */
|
||||
|
||||
Reference in New Issue
Block a user