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

About height of drone

Open darkangel20156 opened this issue 10 months ago • 2 comments

When I use KeyAircraftLocation3D to get height of drone, but the result is not true. Specifically, when the real height of drone is 1m, the result is 0.0, and sometimes it is -0.1; -0.2m. image

So I want to know how the height is calculated?

darkangel20156 avatar Apr 06 '24 05:04 darkangel20156

What is the actual height you are referring to? When the aircraft reaches a height of 1 meter after takeoff, does KeyAircraftLocation3D read a height of 0?

Could you please provide us with the likelihood of this issue occurring? And could you also share a short video to confirm the issue's behavior? I would recommend using the example code from MSDK V5, where you can view aircraft diagnostic information and height on the default delay page.

The height from KeyAircraftLocation3D is relative to the takeoff point.

image

dji-lyt avatar Apr 08 '24 03:04 dji-lyt

I tested in 7th floor of a building (it is in door, and low GPS, I got GPS level and the result is level_0). When I take off the drone (dji mini 3), if according to the documents, the take-off height is (1.2m) but when I get the altitude value on the screen, the value is not 1.2. In addition to keyLocation3D, I also used KeyAltitude (MSDK 5.6) and the result did not give the exact height of 1.2m.

darkangel20156 avatar Apr 08 '24 08:04 darkangel20156

I tested with KeyUltrasonicHeight, and the result is more accurate, with an error of about 10 dm. (indoor and low gps) image

darkangel20156 avatar Jun 18 '24 14:06 darkangel20156