mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 18:48:30 -04:00
GCS_MAVLink: added OpenDroneID support
This commit is contained in:
parent
0a64bc8cbc
commit
d41c283a5c
@ -16,6 +16,7 @@
|
||||
#include <AP_Devo_Telem/AP_Devo_Telem.h>
|
||||
#include <RC_Channel/RC_Channel.h>
|
||||
#include <AP_Filesystem/AP_Filesystem_Available.h>
|
||||
#include <AP_OpenDroneID/AP_OpenDroneID.h>
|
||||
|
||||
#include "MissionItemProtocol_Waypoints.h"
|
||||
#include "MissionItemProtocol_Rally.h"
|
||||
|
@ -3246,6 +3246,17 @@ void GCS_MAVLINK::handle_common_message(const mavlink_message_t &msg)
|
||||
case MAVLINK_MSG_ID_OPTICAL_FLOW:
|
||||
handle_optical_flow(msg);
|
||||
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:
|
||||
case MAVLINK_MSG_ID_OPEN_DRONE_ID_SYSTEM_UPDATE:
|
||||
AP::opendroneid().handle_msg(chan, msg);
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user