|
|
|
@ -93,6 +93,7 @@ protected:
@@ -93,6 +93,7 @@ protected:
|
|
|
|
|
virtual void run_autopilot() {} |
|
|
|
|
virtual uint32_t wp_distance() const { return 0; } |
|
|
|
|
virtual int32_t wp_bearing() const { return 0; } |
|
|
|
|
virtual bool get_wp(Location_Class &loc) { return false; }; |
|
|
|
|
virtual bool in_guided_mode() const { return false; } |
|
|
|
|
|
|
|
|
|
// pilot input processing
|
|
|
|
@ -279,6 +280,7 @@ protected:
@@ -279,6 +280,7 @@ protected:
|
|
|
|
|
|
|
|
|
|
uint32_t wp_distance() const override; |
|
|
|
|
int32_t wp_bearing() const override; |
|
|
|
|
bool get_wp(Location_Class &loc) override; |
|
|
|
|
void run_autopilot() override; |
|
|
|
|
|
|
|
|
|
private: |
|
|
|
@ -755,6 +757,7 @@ public:
@@ -755,6 +757,7 @@ public:
|
|
|
|
|
void set_angle(const Quaternion &q, float climb_rate_cms, bool use_yaw_rate, float yaw_rate_rads); |
|
|
|
|
bool set_destination(const Vector3f& destination, bool use_yaw = false, float yaw_cd = 0.0, bool use_yaw_rate = false, float yaw_rate_cds = 0.0, bool yaw_relative = false); |
|
|
|
|
bool set_destination(const Location_Class& dest_loc, bool use_yaw = false, float yaw_cd = 0.0, bool use_yaw_rate = false, float yaw_rate_cds = 0.0, bool yaw_relative = false); |
|
|
|
|
bool get_wp(Location_Class &loc) override; |
|
|
|
|
void set_velocity(const Vector3f& velocity, bool use_yaw = false, float yaw_cd = 0.0, bool use_yaw_rate = false, float yaw_rate_cds = 0.0, bool yaw_relative = false, bool log_request = true); |
|
|
|
|
bool set_destination_posvel(const Vector3f& destination, const Vector3f& velocity, bool use_yaw = false, float yaw_cd = 0.0, bool use_yaw_rate = false, float yaw_rate_cds = 0.0, bool yaw_relative = false); |
|
|
|
|
|
|
|
|
|