Mobile-SDK-Android icon indicating copy to clipboard operation
Mobile-SDK-Android copied to clipboard

How to get relative altitude of the aircraft location relative to sea level?

Open benphamx opened this issue 8 years ago • 5 comments

Does anyone have any way to get altitude of drone relative to sea level?

  • DJI Android SDK version: 4.7.1

benphamx avatar Oct 11 '18 09:10 benphamx

thanks for your feedback, android side is missing the key, it will be added in the next version, with this name: FlightControllerKey. TAKEOFF_LOCATION_ALTITUDE note that: by this key we could only get the above-sea altitude value before the taking off, after the taking off the drone will stop updating the value.

Michael-DJI avatar Nov 15 '18 04:11 Michael-DJI

@Michael-DJI Thank you so much

benphamx avatar Nov 15 '18 05:11 benphamx

Altitude is always relative to takeoff.   You can use the home pint location,  look up elevation and calculate using services like Google location service.   Is not very accurate but the are some services that are like USGS.

⁣Sent from BlueMail ​

On Nov 14, 2018, 9:02 PM, at 9:02 PM, Tuan Pham [email protected] wrote:

@Michael-DJI Thank you so much

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/dji-sdk/Mobile-SDK-Android/issues/360#issuecomment-438918427

kenargo avatar Nov 16 '18 00:11 kenargo

@tubipham pls use 4.8.1 version.

Michael-DJI avatar Nov 21 '18 08:11 Michael-DJI

FlightControllerKey. TAKEOFF_LOCATION_ALTITUDE has been added to SDK 4.8.1 !!!

kenargo avatar Nov 27 '18 21:11 kenargo