mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 08:23:33 +08:00
navigator: update mission after changing home position (#22834)
This commit is contained in:
@@ -448,8 +448,16 @@ private:
|
||||
*/
|
||||
bool checkMissionDataChanged(mission_s new_mission);
|
||||
|
||||
/**
|
||||
* @brief update current mission altitude after the home position has changed.
|
||||
*/
|
||||
|
||||
void updateMissionAltAfterHomeChanged();
|
||||
|
||||
bool canRunMissionFeasibility();
|
||||
|
||||
uint32_t _home_update_counter = 0; /**< Variable to store the previous value for home change detection.*/
|
||||
|
||||
bool _align_heading_necessary{false}; // if true, heading of vehicle needs to be aligned with heading of next waypoint. Used to create new mission items for heading alignment.
|
||||
|
||||
mission_item_s _last_gimbal_configure_item {};
|
||||
|
||||
Reference in New Issue
Block a user