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

vehicle_local_position: rename yaw -> heading and add reset logic #15515

Merged
merged 2 commits into from Aug 10, 2020

Conversation

dagar
Copy link
Member

@dagar dagar commented Aug 7, 2020

@bresch how about something like this?

Followup to #15512.

This makes sure the drone lands in the correct orientation
during RTL even if the initial yaw at takeoff was wrong.
 - vehicle_global_position yaw removed (redundant)
Copy link
Member

@bresch bresch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @dagar I like it. I tested it in SITL with ground mag issues and it still works perfectly.

@bresch bresch merged commit 97fc1db into master Aug 10, 2020
@bresch bresch deleted the pr-estimator_heading branch August 10, 2020 09:42
@bresch
Copy link
Member

bresch commented Aug 10, 2020

Crap, I should have squashed....

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

Successfully merging this pull request may close these issues.

None yet

2 participants