mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_UAVCAN: support OpenDroneID
This commit is contained in:
parent
ed47b10e0c
commit
9ce11159b0
@ -59,6 +59,7 @@
|
||||
#include "AP_UAVCAN_DNA_Server.h"
|
||||
#include <AP_Logger/AP_Logger.h>
|
||||
#include <AP_Notify/AP_Notify.h>
|
||||
#include <AP_OpenDroneID/AP_OpenDroneID.h>
|
||||
#include "AP_UAVCAN_pool.h"
|
||||
|
||||
#define LED_DELAY_US 50000
|
||||
@ -490,6 +491,9 @@ void AP_UAVCAN::loop(void)
|
||||
send_parameter_request();
|
||||
send_parameter_save_request();
|
||||
_dna_server->verify_nodes();
|
||||
#if AP_OPENDRONEID_ENABLED
|
||||
AP::opendroneid().dronecan_send(this);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user