From a647b3914c9b5359a25c1417b7f5528a78ddd8fd Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Tue, 10 Sep 2024 18:06:38 +0100 Subject: [PATCH] AC_AttitudeControl: remove unused functions --- libraries/AC_AttitudeControl/AC_AttitudeControl.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libraries/AC_AttitudeControl/AC_AttitudeControl.h b/libraries/AC_AttitudeControl/AC_AttitudeControl.h index ed85b1034c..5724d76f52 100644 --- a/libraries/AC_AttitudeControl/AC_AttitudeControl.h +++ b/libraries/AC_AttitudeControl/AC_AttitudeControl.h @@ -273,12 +273,6 @@ public: // Return the angle between the target thrust vector and the current thrust vector. float get_att_error_angle_deg() const { return degrees(_thrust_error_angle); } - // Set x-axis angular velocity in centidegrees/s - void rate_bf_roll_target(float rate_cds) { _ang_vel_body.x = radians(rate_cds * 0.01f); } - - // Set y-axis angular velocity in centidegrees/s - void rate_bf_pitch_target(float rate_cds) { _ang_vel_body.y = radians(rate_cds * 0.01f); } - // Set z-axis angular velocity in centidegrees/s void rate_bf_yaw_target(float rate_cds) { _ang_vel_body.z = radians(rate_cds * 0.01f); }