Keywords: OSDK control, out of control
The OSDK disconnection logic sets the out-of-control strategy through the DJI Assistant2 Onboard SDK interface:
1. Set the out-of-control strategy as landing,disconnect the OSDK from the drone's serial port, and the drone executes a landing
2. Set the out-of-control strategy as hovering, disconnect the OSDK from the drone's serial port, and the drone will continue to perform the mission without hovering.
3. Set the out-of-control strategy as return to home.
The out-of-control strategy of the drone is related to the distance from the take-off point. This distance has been determined by the actual model used.
For example M300:
If it is < 20m, it will land directly, and if it is > 20m and < 50m, it will return at the current altitude. If it is > 50m, first raise to the set return altitude, and then return to home.
Note: This article is from Chinese and is translated by machine. If there is any suggestions, please point it out and we will correct it in time