-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Blackbox altitude units for GPS-track #13586
Comments
Hey @HereticToXa :) The altitude is saved as an integer with 0.01m resolution Lines 224 to 229 in 6ba4944
and written to the blackbox with 0.1m resolution betaflight/src/main/blackbox/blackbox.c Line 1113 in 6ba4944
so this is wanted behaviour. |
I submitted a PR in the log viewer to fix the GPX output |
Thanks, but in BF 4.5 this "bug" was fixed i think. Now export gpx from blackbox explorer works great |
Ok perfect, so the issue can be closed? :) |
Well. I'm not sure, because not everybody will update to betaflight 4.5 to fix this issue. So I think it must be fixed anyway |
Both snippets above were there at least since firmware 4.0 |
O, yeah? And why on 4.3 many people got this error in vertical scale after exporting gpx from blackbox logs? 🤔 |
Is your feature request related to a problem? Please describe
After decoding blackbox log from Betaflight the gpx file contain information about altitude in wrong units.
Describe the solution you'd like
It seems like it should be multiplied by 0,1.
So the scale is just off by one decimal.
Describe alternatives you've considered
CLI command for choosing the right units.
Other information
There were some requests for it, but it was closed somehow. And I heard INav have no such a problem.
The text was updated successfully, but these errors were encountered: