mirror of https://github.com/ArduPilot/ardupilot
AP_DroneCAN: add support for DroneCAN RCInput packets
This commit is contained in:
parent
48b9172f5b
commit
1e8d256bc2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue