Enabling CAN driver on VOXL2
-
I wanted to use CAN to integrate the VOXL2 with a bus to run motors but noticed that the SocketCan drivers are not enabled in the default VOXL2 image. I'm aware the Flight Control board has a CAN interface (https://forum.modalai.com/topic/1560/can-device-support/2?_=1696869997420) but I wouldn't make any use of the other peripherals on that board. Even if I use a Flight Control board, the CAN interface to the PX4 controller would not enumerate on the VOXL2 as a SocketCAN-compatible interface e.g.
can0
without this kernel module.How feasible would it be to add the CAN module into the VOXL2 kernel?
-
@brinkap unfortunately, there is no CAN capability on VOXL 2. You would need to have an adapter PCB that supports CAN connects to one of the available interfaces, and then write a Linux driver that enumerates as can0
-