Developer
Technical Discussion
Enterprise Applications
Announcement
Tutorials & Tips
Drone Tutorials
Handheld Tutorials
Post-production
Others
Products
Mavic Series
FPV Series
Mini Series
Air Series
Avata Series
Phantom Series
Inspire Series
Osmo
Ronin
Specialized
Pro Systems
Others
Works
Nature
City
Vlog
Travel
Sport
Person
Festival
Others
Events
Campaign
Topic
Regional
Service
Announcement
Inquiry
Feedback
Mavic Pro
Phantom 4 Pro
Inspire 2
firmware
shipping
update
tips
calibration
Osmo
Mobile
Login
Register
Callback for takeoff completion
Home
/
Developer
/
Technical Discussion
/
MSDK
589
4
2021-1-18
Uploading and Loding Picture ...(
0
/
1
)
o(^-^)o
Acipenser
Offline
Acipenser
lvl.2
+ Add Friend
Person Message
Germany
Offline
1
#
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
Twitter
Facebook
Favorite
Like
Post Reply
2021-1-18
Use props
kv886
Offline
kv886
lvl.4
+ Add Friend
Person Message
Hong Kong
Offline
2
#
Why do you want to recognize the drone's take-off completion?
2021-1-18
Use props
Acipenser
Offline
Acipenser
lvl.2
+ Add Friend
Person Message
Germany
Offline
3
#
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
Offline
kv886
lvl.4
+ Add Friend
Person Message
Hong Kong
Offline
4
#
Why not use getFlightMode API. Look at this
https://developer.dji.com/api-re ... e_flightmode_inline
2021-1-22
Use props
Acipenser
Offline
Acipenser
lvl.2
+ Add Friend
Person Message
Germany
Offline
6
#
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
Bold
Text Color
Upload
Picture
Add Link
Emoticon
You need to log in before you can reply
Login
|
Register now
Click the attachment file name to be added to the post content
Description
Credit Rules
Jump to the last page
MOBILE VERSION
|
DJI.COM
|
DJI Store
|
Buying Guides
|
Support
|
Top
Copyright © 2024 DJI All Rights Reserved.
DJI Privacy Policy
Cookie Preferences
Forum Rules