From 53f1fc129507c61b0f8de050a5d87ca75f2c5639 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 20 Dec 2021 13:37:10 +1100 Subject: [PATCH] AC_AttitudeControl: added get_ang_vel_yaw_max_rads() --- libraries/AC_AttitudeControl/AC_AttitudeControl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AC_AttitudeControl/AC_AttitudeControl.h b/libraries/AC_AttitudeControl/AC_AttitudeControl.h index 219ec1fb13..30863b3d00 100644 --- a/libraries/AC_AttitudeControl/AC_AttitudeControl.h +++ b/libraries/AC_AttitudeControl/AC_AttitudeControl.h @@ -113,6 +113,9 @@ public: // get the pitch angular velocity limit in radians/s float get_ang_vel_pitch_max_rads() const { return radians(_ang_vel_pitch_max); } + // get the yaw angular velocity limit in radians/s + float get_ang_vel_yaw_max_rads() const { return radians(_ang_vel_yaw_max); } + // get the yaw slew limit float get_slew_yaw_cds() const { return _slew_yaw; }