Keywords: OSDK heartbeat packet, disconnection mechanism
The heartbeat packet is a mechanism for determining the connection between the drone and the OSDK, and no API is provided. The heartbeat packet lost needs to be processed, otherwise there may be an abnormal situation that judges that the OSDK is disconnected from the drone.
The heartbeat packet is transmitted through the serial port. Please check whether the serial port communication is normal, such as the baud rate and hardware connection has been broken, and whether the serial port communication is unstable .
To determine whether it is affected by the application code, you can first run the OSDK original sample to check if it can be reproduced. If it can be reproduced, it is recommended to check the stability of the serial communication.
Note: This article is from Chinese and is translated by machine. If there is any error, please point it out and we will correct it in time
Comments
0 comments
Please sign in to leave a comment.