Keywords: waypoint v2 waypoint mission status
Waypoint V2 provides corresponding callback functions RegisterMissionEventCallback, RegisterMissionStateCallback, please refer to the calling method in the sample code:
WaypointV2MissionSample::WaypointV2MissionSample(Vehicle *vehicle):vehiclePtr(vehicle){
vehiclePtr->waypointV2Mission->RegisterMissionEventCallback(vehicle->waypointV2Mission, updateMissionEvent);
vehiclePtr->waypointV2Mission->RegisterMissionStateCallback(vehicle->waypointV2Mission, updateMissionState);
}
Comments
0 comments
Please sign in to leave a comment.