From 3b0a9e47a7c0b958e6e3c51ba322e6cd47a59673 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 20 Dec 2021 16:00:19 +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 8c5ef6c49e..42bb5b26a8 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; }