|
|
@ -43,7 +43,7 @@ |
|
|
|
#include <AP_Compass/AP_Compass_UAVCAN.h> |
|
|
|
#include <AP_Compass/AP_Compass_UAVCAN.h> |
|
|
|
#include <AP_Airspeed/AP_Airspeed_UAVCAN.h> |
|
|
|
#include <AP_Airspeed/AP_Airspeed_UAVCAN.h> |
|
|
|
#include <SRV_Channel/SRV_Channel.h> |
|
|
|
#include <SRV_Channel/SRV_Channel.h> |
|
|
|
#include <AP_OpticalFlow/AP_OpticalFlow_UAVCAN.h> |
|
|
|
#include <AP_OpticalFlow/AP_OpticalFlow_HereFlow.h> |
|
|
|
|
|
|
|
|
|
|
|
#define LED_DELAY_US 50000 |
|
|
|
#define LED_DELAY_US 50000 |
|
|
|
|
|
|
|
|
|
|
@ -207,7 +207,7 @@ void AP_UAVCAN::init(uint8_t driver_index, bool enable_filters) |
|
|
|
AP_Baro_UAVCAN::subscribe_msgs(this); |
|
|
|
AP_Baro_UAVCAN::subscribe_msgs(this); |
|
|
|
AP_BattMonitor_UAVCAN::subscribe_msgs(this); |
|
|
|
AP_BattMonitor_UAVCAN::subscribe_msgs(this); |
|
|
|
AP_Airspeed_UAVCAN::subscribe_msgs(this); |
|
|
|
AP_Airspeed_UAVCAN::subscribe_msgs(this); |
|
|
|
AP_OpticalFlow_UAVCAN::subscribe_msgs(this); |
|
|
|
AP_OpticalFlow_HereFlow::subscribe_msgs(this); |
|
|
|
AP_RangeFinder_UAVCAN::subscribe_msgs(this); |
|
|
|
AP_RangeFinder_UAVCAN::subscribe_msgs(this); |
|
|
|
|
|
|
|
|
|
|
|
act_out_array[driver_index] = new uavcan::Publisher<uavcan::equipment::actuator::ArrayCommand>(*_node); |
|
|
|
act_out_array[driver_index] = new uavcan::Publisher<uavcan::equipment::actuator::ArrayCommand>(*_node); |
|
|
|