sudo ip link set can0 up type can bitrate 500000
sudo ip link set can0 up type can bitrate 500000 sample-point 0.8 dbitrate 2000000 dsample-point 0.8 fd on
sudo ip link set can0 up type can sample-point 0.5 bitrate 500000 dbitrate 2000000 dsample 0.5 fd on
sudo ifconfig can0 up
echo 4096 > /sys/class/net/can0/tx_queue_len # 切换为root