AP_Vehicle: add scripting guided mode set angle

This commit is contained in:
Iampete1 2020-06-01 00:30:02 +01:00 committed by Andrew Tridgell
parent e797685771
commit 98d5aa91a8

View File

@ -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;