AP_DroneCAN: add support for DroneCAN RCInput packets

This commit is contained in:
Peter Barker 2023-05-18 18:20:22 +10:00 committed by Peter Barker
parent 48b9172f5b
commit 1e8d256bc2
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#include <AP_Airspeed/AP_Airspeed_DroneCAN.h>
#include <AP_OpticalFlow/AP_OpticalFlow_HereFlow.h>
#include <AP_RangeFinder/AP_RangeFinder_DroneCAN.h>
#include <AP_RCProtocol/AP_RCProtocol_DroneCAN.h>
#include <AP_EFI/AP_EFI_DroneCAN.h>
#include <AP_GPS/AP_GPS_DroneCAN.h>
#include <AP_GPS/AP_GPS.h>
@ -249,6 +250,9 @@ void AP_DroneCAN::init(uint8_t driver_index, bool enable_filters)
#if AP_RANGEFINDER_DRONECAN_ENABLED
AP_RangeFinder_DroneCAN::subscribe_msgs(this);
#endif
#if AP_RCPROTOCOL_DRONECAN_ENABLED
AP_RCProtocol_DroneCAN::subscribe_msgs(this);
#endif
#if AP_EFI_DRONECAN_ENABLED
AP_EFI_DroneCAN::subscribe_msgs(this);
#endif