mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 13:13:35 +08:00
reset mission after vehicle was in mission and then disarms
This commit is contained in:
committed by
Lorenz Meier
parent
fbd2edaae5
commit
d9cabde13e
@@ -203,6 +203,16 @@ private:
|
||||
*/
|
||||
bool check_mission_valid();
|
||||
|
||||
/**
|
||||
* Reset offboard mission
|
||||
*/
|
||||
void reset_offboard_mission(struct mission_s &mission);
|
||||
|
||||
/**
|
||||
* Returns true if we need to reset the mission
|
||||
*/
|
||||
bool need_to_reset_mission(bool active);
|
||||
|
||||
control::BlockParamInt _param_onboard_enabled;
|
||||
control::BlockParamFloat _param_takeoff_alt;
|
||||
control::BlockParamFloat _param_dist_1wp;
|
||||
@@ -224,6 +234,7 @@ private:
|
||||
|
||||
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