diff --git a/libraries/AC_AttitudeControl/AC_AttitudeControl.h b/libraries/AC_AttitudeControl/AC_AttitudeControl.h index 49f7002d02..4cc87fd7fc 100644 --- a/libraries/AC_AttitudeControl/AC_AttitudeControl.h +++ b/libraries/AC_AttitudeControl/AC_AttitudeControl.h @@ -111,6 +111,9 @@ public: // get the pitch angular velocity limit in radians/s float get_ang_vel_pitch_max_radss() const { return _ang_vel_pitch_max; } + // get the yaw slew limit + float get_slew_yaw_cds() const { return _slew_yaw; } + // get the rate control input smoothing time constant float get_input_tc() const { return _input_tc; } @@ -120,7 +123,7 @@ public: // Ensure attitude controller have zero errors to relax rate controller output void relax_attitude_controllers(); - // Used by child class AC_AttitudeControl_TS to change behavior for tailsitter quadplanes + // Used by child class AC_AttitudeControl_TS to change behaviour for tailsitter quadplanes virtual void relax_attitude_controllers(bool exclude_pitch) { relax_attitude_controllers(); } // reset rate controller I terms