AC_AttitudeControl: added get_ang_vel_yaw_max_rads()

This commit is contained in:
Andrew Tridgell 2021-12-20 13:37:10 +11:00 committed by Randy Mackay
parent 7ebf45616d
commit 53f1fc1295

View File

@ -113,6 +113,9 @@ public:
// get the pitch angular velocity limit in radians/s // get the pitch angular velocity limit in radians/s
float get_ang_vel_pitch_max_rads() const { return radians(_ang_vel_pitch_max); } 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 // get the yaw slew limit
float get_slew_yaw_cds() const { return _slew_yaw; } float get_slew_yaw_cds() const { return _slew_yaw; }