I’ll be integrating libcanard (v1.0) on an embedded microcontroller, and I’d like to set up a test environment running on a Windows PC. I have a Zubax Babel interface connected to the Windows PC, and connected via CAN bus to the microcontroller. I’d like to simulate multiple nodes, monitor traffic, and spawn a fileserver for firmware updates. Preferably, all of these functions will be running simultaneously.
At this point, it appears the graphical tool (Yukon) is still under development, so I’m guessing I’ll need to use the command-line tool, Yakut (please confirm).
I’ve successfully run a single instance of Yakut to communicate with the microcontroller. However, when attempting to run a second instance of Yakut, I see a failure when attempting to open the Babel adapter.
Does Yakut support running multiple simultaneous functions?
If not, I’m considering implementing a CAN-to-UDP bridge using pyuavcan, so that I can have multiple instances of Yakut performing different functions, and communicating with the microcontroller over CAN. In fact, I’ve already started down this path using the Sniffing/Spoofing/Tracing example in the documentation, but I’m having some difficultly adapting the LoopbackTransport based example to use UDPTransport. Despite having NPCAP installed, I’m not receiving any captured data from UDP. I can share code if needed to troubleshoot this area. It’s probably just a silly mistake, but it would be helpful to have someone confirm correct usage of the capture API.