mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
GCS_MAVLINK: add OpenDroneID messages
This commit is contained in:
parent
0538dc90ce
commit
cf970c1f87
@ -28,6 +28,7 @@
|
||||
#include <AP_GPS/AP_GPS.h>
|
||||
#include <AP_VisualOdom/AP_VisualOdom.h>
|
||||
#include <AP_OpticalFlow/AP_OpticalFlow.h>
|
||||
#include <AP_OpenDroneID/AP_OpenDroneID.h>
|
||||
|
||||
#include "MissionItemProtocol_Waypoints.h"
|
||||
#include "MissionItemProtocol_Rally.h"
|
||||
|
@ -3725,6 +3725,16 @@ void GCS_MAVLINK::handle_common_message(const mavlink_message_t &msg)
|
||||
AP::can().handle_can_filter_modify(msg);
|
||||
#endif
|
||||
break;
|
||||
|
||||
#if AP_OPENDRONEID_ENABLED
|
||||
case MAVLINK_MSG_ID_OPEN_DRONE_ID_ARM_STATUS:
|
||||
case MAVLINK_MSG_ID_OPEN_DRONE_ID_OPERATOR_ID:
|
||||
case MAVLINK_MSG_ID_OPEN_DRONE_ID_SELF_ID:
|
||||
case MAVLINK_MSG_ID_OPEN_DRONE_ID_BASIC_ID:
|
||||
case MAVLINK_MSG_ID_OPEN_DRONE_ID_SYSTEM:
|
||||
AP::opendroneid().handle_msg(chan, msg);
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user