|
|
|
@ -794,7 +794,7 @@ public:
@@ -794,7 +794,7 @@ public:
|
|
|
|
|
|
|
|
|
|
bool requires_GPS() const override { return true; } |
|
|
|
|
bool has_manual_throttle() const override { return false; } |
|
|
|
|
bool allows_arming(bool from_gcs) const override { return from_gcs; } |
|
|
|
|
bool allows_arming(bool from_gcs) const override; |
|
|
|
|
bool is_autopilot() const override { return true; } |
|
|
|
|
bool has_user_takeoff(bool must_navigate) const override { return true; } |
|
|
|
|
bool in_guided_mode() const override { return true; } |
|
|
|
@ -833,6 +833,11 @@ protected:
@@ -833,6 +833,11 @@ protected:
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
|
|
|
|
|
|
// enum for GUIDED_OPTIONS parameter
|
|
|
|
|
enum class Options : int32_t { |
|
|
|
|
AllowArmingFromTX = (1 << 0U), |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
void pos_control_start(); |
|
|
|
|
void vel_control_start(); |
|
|
|
|
void posvel_control_start(); |
|
|
|
|