-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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
Copter: condition yaw fix #24719
Copter: condition yaw fix #24719
Conversation
I accidentally closed this while closing this other yaw related PR #25646 |
e65314c
to
2dbcfdb
Compare
2dbcfdb
to
dc98604
Compare
While re-working this PR I stumbled across a much simpler fix which is to always update the position controller's yaw angle and rate targets. When we don't have a velocity vector long enough to calculate a good target we simply use the attitude controller's current target. I've tested and this resolves the original issue #24717 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should work nicely.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for the reviews, merged! |
This is included in 4.5.2-beta1 |
This resolves issue #24717 which involves the vehicle pointing towards an out-of-date yaw target.
This has been tested in SITL