mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Vehicle: move AP_KDECAN to AP_Vehicle
ssss
This commit is contained in:
parent
8a530ee0a6
commit
af2fc47b4d
@ -131,6 +131,12 @@ const AP_Param::GroupInfo AP_Vehicle::var_info[] = {
|
||||
AP_SUBGROUPPTR(dds_client, "XRCE_", 18, AP_Vehicle, AP_DDS_Client),
|
||||
#endif
|
||||
|
||||
#if AP_KDECAN_ENABLED
|
||||
// @Group: KDE_
|
||||
// @Path: ../AP_KDECAN/AP_KDECAN.cpp
|
||||
AP_SUBGROUPINFO(kdecan, "KDE_", 19, AP_Vehicle, AP_KDECAN),
|
||||
#endif
|
||||
|
||||
AP_GROUPEND
|
||||
};
|
||||
|
||||
@ -283,6 +289,10 @@ void AP_Vehicle::setup()
|
||||
temperature_sensor.init();
|
||||
#endif
|
||||
|
||||
#if AP_KDECAN_ENABLED
|
||||
kdecan.init();
|
||||
#endif
|
||||
|
||||
#if AP_AIS_ENABLED
|
||||
ais.init();
|
||||
#endif
|
||||
|
@ -59,6 +59,7 @@
|
||||
#include <AC_Fence/AC_Fence.h>
|
||||
#include <AP_CheckFirmware/AP_CheckFirmware.h>
|
||||
#include <Filter/LowPassFilter.h>
|
||||
#include <AP_KDECAN/AP_KDECAN.h>
|
||||
|
||||
class AP_DDS_Client;
|
||||
|
||||
@ -365,6 +366,10 @@ protected:
|
||||
AP_NMEA_Output nmea;
|
||||
#endif
|
||||
|
||||
#if AP_KDECAN_ENABLED
|
||||
AP_KDECAN kdecan;
|
||||
#endif
|
||||
|
||||
#if AP_FENCE_ENABLED
|
||||
AC_Fence fence;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user