Skip to content

Commit

Permalink
AP_Vehicle: add set_target_angle_and_thrust()
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Dec 17, 2023
1 parent 5322e2d commit 15166e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_Vehicle/AP_Vehicle.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ class AP_Vehicle : public AP_HAL::HAL::Callbacks {
virtual bool set_target_velocity_NED(const Vector3f& vel_ned, bool align_yaw_to_target = false) { return false; }
virtual bool set_target_velaccel_NED(const Vector3f& target_vel, const Vector3f& target_accel, bool use_yaw, float yaw_deg, bool use_yaw_rate, float yaw_rate_degs, bool yaw_relative) { 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; }
virtual bool set_target_angle_and_thrust(float roll_deg, float pitch_deg, float yaw_deg, float thrust, bool use_yaw_rate, float yaw_rate_degs) { return false; }

// command throttle percentage and roll, pitch, yaw target
// rates. For use with scripting controllers
Expand Down

0 comments on commit 15166e9

Please sign in to comment.