12 lines
351 B
Bash
Executable File
12 lines
351 B
Bash
Executable File
#!/bin/bash
|
|
sudo ip link set can0 type can bitrate 500000 && sudo ip link set can0 up
|
|
|
|
# rm ~/allocation_table.db
|
|
|
|
export UAVCAN__CAN__IFACE="socketcan:can0"
|
|
export UAVCAN__NODE__ID=127
|
|
export UAVCAN__CAN__MTU=8
|
|
export UAVCAN__CAN__BITRATE=500000
|
|
|
|
# y mon --plug-and-play ~/allocation_table.db
|