mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLINK: add OpenDroneID messages
This commit is contained in:
parent
c52ae2edb4
commit
3bd792295c
|
@ -24,6 +24,7 @@
|
|||
#include <AP_Filesystem/AP_Filesystem_Available.h>
|
||||
#include <AP_GPS/AP_GPS.h>
|
||||
#include <AP_OpticalFlow/AP_OpticalFlow.h>
|
||||
#include <AP_OpenDroneID/AP_OpenDroneID.h>
|
||||
#include <AP_Mount/AP_Mount.h>
|
||||
#include <AC_Fence/AC_Fence.h>
|
||||
|
||||
|
|
|
@ -3860,6 +3860,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