|
|
|
@ -87,6 +87,10 @@ public:
@@ -87,6 +87,10 @@ public:
|
|
|
|
|
// depending on airspeed_nudge_cm
|
|
|
|
|
virtual bool allows_throttle_nudging() const { return false; } |
|
|
|
|
|
|
|
|
|
// true if the mode sets the vehicle destination, which controls
|
|
|
|
|
// whether control input is ignored with STICK_MIXING=0
|
|
|
|
|
virtual bool does_auto_navigation() const { return false; } |
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
|
|
|
|
|
// subclasses override this to perform checks before entering the mode
|
|
|
|
@ -128,6 +132,8 @@ public:
@@ -128,6 +132,8 @@ public:
|
|
|
|
|
|
|
|
|
|
bool allows_throttle_nudging() const override { return true; } |
|
|
|
|
|
|
|
|
|
bool does_auto_navigation() const override { return true; } |
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
|
|
|
|
|
bool _enter() override; |
|
|
|
@ -169,6 +175,8 @@ public:
@@ -169,6 +175,8 @@ public:
|
|
|
|
|
|
|
|
|
|
bool allows_throttle_nudging() const override { return true; } |
|
|
|
|
|
|
|
|
|
bool does_auto_navigation() const override { return true; } |
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
|
|
|
|
|
bool _enter() override; |
|
|
|
@ -185,6 +193,8 @@ public:
@@ -185,6 +193,8 @@ public:
|
|
|
|
|
// methods that affect movement of the vehicle in this mode
|
|
|
|
|
void update() override; |
|
|
|
|
|
|
|
|
|
bool does_auto_navigation() const override { return true; } |
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
|
|
|
|
|
bool _enter() override; |
|
|
|
@ -206,6 +216,8 @@ public:
@@ -206,6 +216,8 @@ public:
|
|
|
|
|
bool isHeadingLinedUp(const Location loiterCenterLoc, const Location targetLoc); |
|
|
|
|
bool isHeadingLinedUp_cd(const int32_t bearing_cd); |
|
|
|
|
|
|
|
|
|
bool does_auto_navigation() const override { return true; } |
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
|
|
|
|
|
bool _enter() override; |
|
|
|
@ -244,6 +256,8 @@ public:
@@ -244,6 +256,8 @@ public:
|
|
|
|
|
|
|
|
|
|
bool allows_throttle_nudging() const override { return true; } |
|
|
|
|
|
|
|
|
|
bool does_auto_navigation() const override { return true; } |
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
|
|
|
|
|
bool _enter() override; |
|
|
|
@ -536,6 +550,8 @@ public:
@@ -536,6 +550,8 @@ public:
|
|
|
|
|
|
|
|
|
|
bool allows_throttle_nudging() const override { return true; } |
|
|
|
|
|
|
|
|
|
bool does_auto_navigation() const override { return true; } |
|
|
|
|
|
|
|
|
|
// var_info for holding parameter information
|
|
|
|
|
static const struct AP_Param::GroupInfo var_info[]; |
|
|
|
|
|
|
|
|
@ -571,6 +587,8 @@ public:
@@ -571,6 +587,8 @@ public:
|
|
|
|
|
|
|
|
|
|
bool allows_throttle_nudging() const override { return true; } |
|
|
|
|
|
|
|
|
|
bool does_auto_navigation() const override { return true; } |
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
|
|
|
|
|
bool exit_heading_aligned() const; |
|
|
|
|