I am so sorry to ask this, like I am quite new to UAVCAN stuff too. So, actually I tried to follow the demo_app.py exactly and I get my way to work well with this. However, when I tried to get UAVCAN data from my GPS through either Seeeduino (with CAN bus shield) or Pixhawk directly, both of them not working as I follow the way I did in demo_app.py. I have very little knowledge on Python so sorry to say that, and I can only follow the instruction from the provided documents. Anyhow, anyone of you know how does the yakut working with PyUAVCAN, like how do we connect it? Thank you.
It sounds like you are trying to use legacy UAVCAN v0 devices with UAVCAN v1. Please consult with this thread here:
Thank you for your reply. So, you meant by having Zubex Babel then I am able to read the device supported UAVCAN v0 using Yakut for PyUAVCAN? Or you meant it otherwise?
This is because I saw from your statement, you stated that Yakut is for v1 and it doesn’t support v0 devices at that moment right?
If yes, then I might proceed to get the board for it but before that I need make this clear before getting it. My question is after I get the Zubax Babel, do I need to code anything other than following the instruction from Yakut github as what I have done previously for the demo_app.py to proceed with reading device supported UAVCAN protocol (any version: either v0/v1) or any other step to be concerned before and after getting the board.
Thank you for your patience to answer my question.
The reason for asking this is because I tried using three different method to read UAVCAN value.
First measure I have taken is by having Seeeduino with canbus shield and provided library to read the UAVCAN data through Arduino IDE. I get very raw data which is not ideal for me to understand the meaning of those data.
Second is using Yakut to read the data from the device (GPS) by connecting it through a CANBus reader (GPS to Seeeduino with CANBus Shield to Computer).
Third is having UAVCAN GUI tool to read the data from Pixhawk. Only this method is working for me but I am finding a way to have a device works well without having Pixhawk and running through UAVCAN GUI tool is because I am trying to create a Linux UI that ease the process of UAVCAN reading with my friend.
Sorry for being ignorance as I have little knowledge about the working mechanism of this protocol. Is there any docs or video available to improve my understanding?
Thank you for your patience
Zubax Babel is compatible with both v0 and v1.
Yakut is compatible with v1 only.
UAVCAN GUI Tool is compatible with v0 only.
There are versions of PyUAVCAN and libcanard for v0 and v1 each.
Currently there is no software solution out there that supports both protocols simultaneously (sans the Kocherga bootloader but in this case it is irrelevant).
Right.
No coding is necessary but you will need to pick the right tool: Yakut for v1, UAVCAN GUI Tool for v0. You can also use them simultaneously.
There are plenty of docs. The most important ones are:
- https://uavcan.org/guide
- https://uavcan.org/specification
- Docs for your implementation, such as the PyUAVCAN docs that you have already read.