From 86e9679ebbeecd4a124f339b6f65cd5ad5373d77 Mon Sep 17 00:00:00 2001 From: Tatsuya Yamaguchi Date: Wed, 14 Jun 2023 11:01:32 +0900 Subject: [PATCH] Copter: add has_user_takeoff in ZigZag mode --- ArduCopter/mode.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ArduCopter/mode.h b/ArduCopter/mode.h index cf446eae11..feb2e10952 100644 --- a/ArduCopter/mode.h +++ b/ArduCopter/mode.h @@ -1786,6 +1786,7 @@ public: bool has_manual_throttle() const override { return false; } bool allows_arming(AP_Arming::Method method) 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 void save_or_move_to_destination(Destination ab_dest);