Repository to manage the CAN communication of the vehicle
To use the CAN debugger on Linux :
- Identify which device it the debugger : ls /dev/ttyACM*
- sudo modprobe slcan sudo slcand -o -c -s6 /dev/ttyACM1 can0 sudo ip link set up can0
- candump can0 //to sniff the can BUS
- cansend can0 321#00000000 // where 321 is the ID and 00000000 the data, in hex If you want to send 29-bit IDs : cansend can0 00ABCDEF#776F726C64
To disconnect/reset:
- sudo ip link set can0 down
- sudo pkill slcand