mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Tracker: move to using CANManager library
This commit is contained in:
parent
979b0b82d0
commit
ddfd186618
@ -269,10 +269,10 @@ const AP_Param::Info Tracker::var_info[] = {
|
|||||||
// @Path: ../libraries/AP_BoardConfig/AP_BoardConfig.cpp
|
// @Path: ../libraries/AP_BoardConfig/AP_BoardConfig.cpp
|
||||||
GOBJECT(BoardConfig, "BRD_", AP_BoardConfig),
|
GOBJECT(BoardConfig, "BRD_", AP_BoardConfig),
|
||||||
|
|
||||||
#if HAL_WITH_UAVCAN
|
#if HAL_MAX_CAN_PROTOCOL_DRIVERS
|
||||||
// @Group: CAN_
|
// @Group: CAN_
|
||||||
// @Path: ../libraries/AP_BoardConfig/AP_BoardConfig_CAN.cpp
|
// @Path: ../libraries/AP_CANManager/AP_CANManager.cpp
|
||||||
GOBJECT(BoardConfig_CAN, "CAN_", AP_BoardConfig_CAN),
|
GOBJECT(can_mgr, "CAN_", AP_CANManager),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// GPS driver
|
// GPS driver
|
||||||
|
@ -86,7 +86,7 @@ public:
|
|||||||
k_param_gcs3, // stream rates for fourth MAVLink port
|
k_param_gcs3, // stream rates for fourth MAVLink port
|
||||||
k_param_log_bitmask, // 140
|
k_param_log_bitmask, // 140
|
||||||
k_param_notify,
|
k_param_notify,
|
||||||
k_param_BoardConfig_CAN,
|
k_param_can_mgr,
|
||||||
k_param_battery,
|
k_param_battery,
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -9,8 +9,8 @@ void Tracker::init_ardupilot()
|
|||||||
stats.init();
|
stats.init();
|
||||||
|
|
||||||
BoardConfig.init();
|
BoardConfig.init();
|
||||||
#if HAL_WITH_UAVCAN
|
#if HAL_MAX_CAN_PROTOCOL_DRIVERS
|
||||||
BoardConfig_CAN.init();
|
can_mgr.init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// initialise notify
|
// initialise notify
|
||||||
|
Loading…
Reference in New Issue
Block a user