Skip to content

Commit

Permalink
AC_AttitudeControl: remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Sep 18, 2024
1 parent ce006a3 commit 8660651
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions libraries/AC_AttitudeControl/AC_AttitudeControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,6 @@ class AC_AttitudeControl {
// 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); }

Expand Down

0 comments on commit 8660651

Please sign in to comment.