From f57175a84f471a1a3f82a0f0f082cb4334d1d047 Mon Sep 17 00:00:00 2001 From: Leonard Hall Date: Sat, 7 Aug 2021 16:20:15 +0930 Subject: [PATCH] AC_AttitudeControl: Fix Angle Vel units on function --- libraries/AC_AttitudeControl/AC_AttitudeControl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AC_AttitudeControl/AC_AttitudeControl.h b/libraries/AC_AttitudeControl/AC_AttitudeControl.h index fe217e28a5..f512c5d8c5 100644 --- a/libraries/AC_AttitudeControl/AC_AttitudeControl.h +++ b/libraries/AC_AttitudeControl/AC_AttitudeControl.h @@ -106,10 +106,10 @@ public: void save_accel_yaw_max(float accel_yaw_max) { _accel_yaw_max.set_and_save(accel_yaw_max); } // get the roll angular velocity limit in radians/s - float get_ang_vel_roll_max_radss() const { return _ang_vel_roll_max; } + float get_ang_vel_roll_max_rads() const { return _ang_vel_roll_max; } // get the pitch angular velocity limit in radians/s - float get_ang_vel_pitch_max_radss() const { return _ang_vel_pitch_max; } + float get_ang_vel_pitch_max_rads() const { return _ang_vel_pitch_max; } // get the yaw slew limit float get_slew_yaw_cds() const { return _slew_yaw; }