Copter: add has_user_takeoff in ZigZag mode

This commit is contained in:
Tatsuya Yamaguchi 2023-06-14 11:01:32 +09:00 committed by Randy Mackay
parent b670615b3a
commit 10c3a70072
1 changed files with 1 additions and 0 deletions

View File

@ -1786,6 +1786,7 @@ public:
bool has_manual_throttle() const override { return false; } bool has_manual_throttle() const override { return false; }
bool allows_arming(AP_Arming::Method method) const override { return true; } bool allows_arming(AP_Arming::Method method) const override { return true; }
bool is_autopilot() const override { return true; } bool is_autopilot() const override { return true; }
bool has_user_takeoff(bool must_navigate) const override { return true; }
// save current position as A or B. If both A and B have been saved move to the one specified // save current position as A or B. If both A and B have been saved move to the one specified
void save_or_move_to_destination(Destination ab_dest); void save_or_move_to_destination(Destination ab_dest);