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

Fix maps with reference heading != 0º #3337

Merged
merged 1 commit into from Jun 8, 2018

Conversation

Projects
None yet
1 participant
@fiam
Copy link
Member

commented Jun 7, 2018

The reference heading rotation was reversed, but it didn't affect
maps oriented north or when the takeoff direction was close to 0º.

As a result, radar mode had an incorrect extra rotation applied to
it to compensate for this incorrect rotation in the map heading.
Since that's now fixed, the extra rotation is now removed from
osdDrawRadar().

Fix maps with reference heading != 0º
The reference heading rotation was reversed, but it didn't affect
maps oriented north or when the takeoff direction was close to 0º.

As a result, radar mode had an incorrect extra rotation applied to
it to compensate for this incorrect rotation in the map heading.
Since that's now fixed, the extra rotation is now removed from
osdDrawRadar().

@fiam fiam added this to the 2.0 milestone Jun 7, 2018

@fiam

This comment has been minimized.

Copy link
Member Author

commented Jun 8, 2018

Tested by @shellixyz and seems to be working fine. Merging.

@fiam fiam merged commit 95d4d84 into development Jun 8, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@fiam fiam deleted the agh_takeoff_map_fixes branch Jun 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.