djiuser_mivL4aJKikQQ
lvl.1
Flight distance : 25194 ft
United Kingdom
Offline
|
Hi, I am currently working on an app using the DJI Mobile SDK in android. I am trying to get the live drone GPS location of the Mavic mini. The code I am using is mFlightController.setStateCallback(djiFlightControllerCurrentState -> {
droneLocation.setLatitude(djiFlightControllerCurrentState.getAircraftLocation().get latitude())
This never seems to get hit and I'm not sure why given the documentation.
Any ideas as to why this isn't working is much appreciated. Thank you. |
|