Hello everyone ! I am pretty new to UAVCAN and more generally to any topic related to communication/networking.
So I have made the acquisition of a Babel in order to monitor my node network through uavcan_gui_tool, which worked perfectly fine.
Now it would be great for me if I could monitor my network through the Yakut CLI tool.
So far I have tested some stuff but none of them lead to a success:
- I have changed the environment variable : export UAVCAN__CAN__IFACE=‘slcan:/dev/serial/by-id/usb-Zubax_Robotics_Zubax_Babel_1F003000185130465638362000000000-if00’
Which led to this error :
File "/home/louis-nicolas/.local/lib/python3.8/site-packages/pyuavcan/transport/can/media/pythoncan/_pythoncan.py", line 371, in _construct_slcan
raise InvalidMediaConfigurationError(f"Interface does not support CAN FD: {parameters.interface_name}")
pyuavcan.transport._error.InvalidMediaConfigurationError: Interface does not support CAN FD: slcan
- I have used Pavel’s script to set up a slcan interface ( https://gist.github.com/pavel-kirienko/32e395683e8b7f49e71413aebf5e1a89 ) and export UAVCAN__CAN__IFACE=‘slcan:slcan0’ , which led to the same error.
I think I am pretty close as the error message is pretty explicit.
Then I have tried also to change the env variable related to the MTU and the bitrate ( I have put the same value than one on the git readme of yakut in monitor section) as they are related to CAN/CAN FD. The error message changed to :
File "/usr/local/lib/python3.8/dist-packages/serial/serialposix.py", line 325, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port slcan0: [Errno 2] No such file or directory: 'slcan0'
Any help would be greatly appreciated. Thank you all for reading me