From 50b694444be6f2e53ec64755e7fb4432784eeb38 Mon Sep 17 00:00:00 2001 From: Leonard Hall Date: Sat, 6 Aug 2016 11:54:19 +0900 Subject: [PATCH] AC_AttControl: correct method comments No functional change --- libraries/AC_AttitudeControl/AC_AttitudeControl.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libraries/AC_AttitudeControl/AC_AttitudeControl.h b/libraries/AC_AttitudeControl/AC_AttitudeControl.h index ead59fe553..d0b0efa640 100644 --- a/libraries/AC_AttitudeControl/AC_AttitudeControl.h +++ b/libraries/AC_AttitudeControl/AC_AttitudeControl.h @@ -157,22 +157,22 @@ public: // Set z-axis angular velocity in centidegrees/s void rate_bf_yaw_target(float rate_cds) { _rate_target_ang_vel.z = radians(rate_cds*0.01f); } - // Return roll rate step size in centidegrees/s that results in maximum output after 4 time steps + // Return roll rate step size in radians/s that results in maximum output after 4 time steps float max_rate_step_bf_roll(); - // Return pitch rate step size in centidegrees/s that results in maximum output after 4 time steps + // Return pitch rate step size in radians/s that results in maximum output after 4 time steps float max_rate_step_bf_pitch(); - // Return yaw rate step size in centidegrees/s that results in maximum output after 4 time steps + // Return yaw rate step size in radians/s that results in maximum output after 4 time steps float max_rate_step_bf_yaw(); - // Return roll step size in centidegrees that results in maximum output after 4 time steps + // Return roll step size in radians that results in maximum output after 4 time steps float max_angle_step_bf_roll() { return max_rate_step_bf_roll()/_p_angle_roll.kP(); } - // Return pitch step size in centidegrees that results in maximum output after 4 time steps + // Return pitch step size in radians that results in maximum output after 4 time steps float max_angle_step_bf_pitch() { return max_rate_step_bf_pitch()/_p_angle_pitch.kP(); } - // Return yaw step size in centidegrees that results in maximum output after 4 time steps + // Return yaw step size in radians that results in maximum output after 4 time steps float max_angle_step_bf_yaw() { return max_rate_step_bf_yaw()/_p_angle_yaw.kP(); } // Return angular velocity in radians used in the angular velocity controller