Keywords: waypoint v2, state callback, waypointIndex
To get the waypointIndex parameter of the callback in waypoint v2, it is necessary to determine that the obtained parameter is valid when the value of MissionEventPushAck->event is 0x01.
If you don't check, the thrown value may be wrong.
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