Hey all,
I’m getting started to using the Jetson TX2 as a platform to run an autonomous robot with communication through a CAN network. I found some resources that gave me commands to use to open can ports can0 and can1 through the command line. I would like to configure my Jetson so that it opens the can ports on startup. From what I understand this is done through the /etc/modules file.
I am sure this is the wrong way to go about it, but when I enter the same commands that I used to open the can ports through the command window:
sudo modprobe can
sudo modprobe can_raw
sudo modprobe mttcan
sudo ip link set can0 type can bitrate 500000
sudo ip link set up can0
it does not seem to be opening on start up.
If there is any advice for another place to put these commands so they run on startup or different commands to use I would be incredibly greatful.