mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_UAVCAN: support OpenDroneID
This commit is contained in:
parent
25601b4212
commit
f41fada571
@ -57,6 +57,7 @@
|
||||
#include <AP_ADSB/AP_ADSB.h>
|
||||
#include "AP_UAVCAN_DNA_Server.h"
|
||||
#include <AP_Logger/AP_Logger.h>
|
||||
#include <AP_OpenDroneID/AP_OpenDroneID.h>
|
||||
#include "AP_UAVCAN_pool.h"
|
||||
|
||||
#define LED_DELAY_US 50000
|
||||
@ -456,7 +457,9 @@ void AP_UAVCAN::loop(void)
|
||||
notify_state_send();
|
||||
send_parameter_request();
|
||||
send_parameter_save_request();
|
||||
AP::uavcan_dna_server().verify_nodes(this);
|
||||
#if AP_OPENDRONEID_ENABLED
|
||||
AP::opendroneid().dronecan_send(this);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user