Mission: add is_resume method

This commit is contained in:
robot-to-society 2024-06-17 15:03:44 +09:00 committed by Peter Barker
parent 49ba800f88
commit b86094978d
1 changed files with 3 additions and 0 deletions

View File

@ -709,6 +709,9 @@ public:
_force_resume = force_resume;
}
// returns true if configured to resume
bool is_resume() const { return _restart == 0 || _force_resume; }
// get a reference to the AP_Mission semaphore, allowing an external caller to lock the
// storage while working with multiple waypoints
HAL_Semaphore &get_semaphore(void)