自动驾驶的ubuntu下can设置的常见命令

# 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