Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AC_AttitudeControl: check for zero rate Y max before taking min #18341

Merged
merged 1 commit into from
Aug 25, 2021

Conversation

IamPete1
Copy link
Member

Were currently taking the min of _ang_vel_yaw_max and get_slew_yaw_rads. _ang_vel_yaw_max defaults to 0 to disable meaning that the min is always zero and slew yaw is always ignored. This changes to only use get_slew_yaw_rads if _ang_vel_yaw_max is 0, otherwise it uses the existing logic.

This is a change in behavior but I think this was how the code was intended to work.

Fixes #12600

@rmackay9
Copy link
Contributor

.. and I guess this should be included in the next 4.1.0-beta release?

@lthall
Copy link
Contributor

lthall commented Aug 25, 2021

.. and I guess this should be included in the next 4.1.0-beta release?

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Copter Yaw max rate param not affect loiter as marked.
5 participants