-
Notifications
You must be signed in to change notification settings - Fork 7
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
Certain DJI Mini 3 Pro test images produce "Bad Altitude or Terrain Data" error #100
Comments
Example XMP string from a Mini 3 Pro using RTK:
|
Should be fixed in b79389b, but I will do some more testing to make sure |
Calculation accuracy after the previous commit were no good at all. I think the I reverted b79389b in 061a722. The issue with our test images are probably something else |
Seems this issue is related to poor GPS fix before takeoff, causing the altitude reading to be incorrect for the remainder of flight session. Will do some more testing, but it would seem only possible mitigation is to leave drone on longer before takeoff so it can acquire better GPS fix. |
The DJI Mini 3 Pro may be using a Real-time Kinematics (RTK) GPS, which typically expresses altitude as WGS84 height above ellipsoid rather than the default EGM96 above mean sea level.
There is some logic in the parser which is supposed to detect the use of an RTK device and avoid performing a conversion if the vertical datum is already ellipsoidal. It appears however this may not be working correctly for the Mini 3 Pro:
https://github.com/Theta-Limited/OpenAthenaAndroid/blob/44299f50cc59b99344802b516b0a94ef3bb2b696/app/src/main/java/com/openathena/MetadataExtractor.java#L290C8-L290C8
The text was updated successfully, but these errors were encountered: