TalonSRX drive setup - robotique-udes/zeus_rover GitHub Wiki

Setup hot swapping

allow-hotplug can0
iface can0 can static
bitrate 1000000
up /sbin/ip link set $IFACE down
up /sbin/ip link set $IFACE up type can

Validating SocketCan functionality

  1. sudo apt install can-utils
  2. cansend can0 999#DEADBEEF Your Talons should now blink orange since a valid CAN message has been sent
  3. candump can0 You should now see a continuous stream of messages coming from the Talons

Common problems

If you reboot the Jetson without restarting the Talons, it is possible the communication won't work.