11 lines
314 B
Bash
Executable File
11 lines
314 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
|
|
|
|
# y mon --plug-and-play ~/allocation_table.db
|