-
Notifications
You must be signed in to change notification settings - Fork 0
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
Reported heading is a bit weird #4
Comments
That looks strange, indeed. Will have a look on wednesday. |
@pierr3 I am able to reproduce this, it's reported heading + 360. Strange enough, that's the value I get from GetReportedHeading(). |
Yes, I'm using the latest EuroScope beta, but somehow it works fine with 2016-08-31 12:35 GMT+02:00 ogruetzmann notifications@github.com:
|
Did you check the actual return value there? Depending on what function you use, it will work just fine. I used GeographicLib in another plugin, and it doesn't matter if the value is 270 or 630, the result is the same. To me it looks like Gergely has to fix it. If I do it, I'll either have to put in a switch, or I'll break it for public release users. |
Maybe just do (x + 360) % 360 ? It'll work for both public and beta. |
Good idea. Never thought about using the modulo operator this way. I'll do this. :) |
Looks fine: |
The reported heading from the aircraft is not displayed properly in EuroScope, see capture (Last item is heading)
https://s3.eu-central-1.amazonaws.com/pithos/ShareX/2016/08/EuroScope_2016-08-29_23-25-41.png
The text was updated successfully, but these errors were encountered: