This is the first time using virtual can on linux machine to test without using multiple HW for my applciations.
What I have done is:
- Crated a virtual can interface, i.e. vcan0 according to
sudo modprobe vcan sudo ip link add dev vcan0 type vcan sudo ip link set up vcan0
Lanch a linux application emulating UAVCAN node using vcan0
Lanch a second linux application emulating two other UAVCAN nodes using vcan0.
The idea is to let the two processes talk to eachother via UAVCAN and vcan0.
I am experienceing some craches in application launched in 2 that I do not get when using seperate HW for the applciations.
Am I missing out something when using vcan?
Do I need to create two vcan:s and virtually connect them together?