Browse Source

AP_Vehicle: add scripting guided mode set angle

zr-v5.1
Iampete1 5 years ago committed by Andrew Tridgell
parent
commit
98d5aa91a8
  1. 4
      libraries/AP_Vehicle/AP_Vehicle.h

4
libraries/AP_Vehicle/AP_Vehicle.h

@ -170,10 +170,12 @@ public: @@ -170,10 +170,12 @@ public:
virtual bool start_takeoff(float alt) { return false; }
virtual bool set_target_location(const Location& target_loc) { return false; }
virtual bool set_target_velocity_NED(const Vector3f& vel_ned) { return false; }
virtual bool set_target_angle_and_climbrate(float roll_deg, float pitch_deg, float yaw_deg, float climb_rate_ms, bool use_yaw_rate, float yaw_rate_degs) { return false; }
// get target location (for use by scripting)
virtual bool get_target_location(Location& target_loc) { return false; }
protected:
virtual void init_ardupilot() = 0;

Loading…
Cancel
Save