Common commands for can settings under autopilot ubuntu

# can 打开后,ifconfig -a 可以查看到 can 信息: ifconfig查看can信息
ifconfig -a
#关闭can0
sudo ip link set down can0
#设置can0波特率为500Kbps
sudo ip link set can0 type can bitrate 500000
#打开can0
sudo ip link set up can0
#发送c

おすすめ

転載: blog.csdn.net/pvmsmfchcs/article/details/129850949