I am building 4 wheel drive elect.rover, with all 4 wheel capable to turn. Board is px4 fmuv5.
I tried to use the latest SW , but the UAVCAN is only present in Plane , not in Rover.
Can anyone suggest, what code should I uncomment (add) to make CAN included ?
I looked through the code and found in “ardupilot/libraries/AP_HAL_Boards.h” that I should have HAL_MAX_CAN_PROTOCOL_DRIVERS to be greater than “0”.
#define HAL_ENABLE_LIBUAVCAN_DRIVERS (HAL_MAX_CAN_PROTOCOL_DRIVERS > 0)
Than in the system.cpp I will have fucntion “can_mgr.init()” compiled and executed:
am I right? if yes, what should I edit to switch it On in Rover ?