Callback for takeoff completion
589 4 2021-1-18
Uploading and Loding Picture ...(0/1)
o(^-^)o
Acipenser
lvl.2

Germany
Offline

Hi,

when I perform startTakeoff(), I can see through the completion callback, that the aircraft crosses 0.5 meters, but not when it reaches the 1.2 meters goal as described in the documentation:https://developer.dji.com/api-reference/android-api/Components/FlightController/DJIFlightController.html?search=starttak&i=0&#djiflightcontroller_takeoff_inline

How is it possible to recognize the drone's takeoff completion?

I'm working with the Mavic 2 Zoom and the Android SDK.

Kind regards

Acipenser

2021-1-18
Use props
kv886
lvl.4

Hong Kong
Offline

Why do you want to recognize the drone's take-off completion?
2021-1-18
Use props
Acipenser
lvl.2

Germany
Offline

I want to map the physical states (ONGROUND, TAKINGOFF, HOVERING,...) of the drone to a finite-state machine in my application.
2021-1-19
Use props
kv886
lvl.4

Hong Kong
Offline

Why not use getFlightMode API. Look at this https://developer.dji.com/api-re ... e_flightmode_inline
2021-1-22
Use props
Acipenser
lvl.2

Germany
Offline

Thanks for the hint! Listening on a change from "AUTO_TAKEOFF" to something else helped me to recognize the completion.
2021-1-27
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules