-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Protobuf descriptions (for inspecting the payload in eCAL monitor) #4
Comments
I found this protobuf crate. Seems to me that they can extract the descriptor out of the protobuf type. |
For language bindings (both Python and C#) the wrapping of the functionality is done on binary Publisher / Subscriber level. These parts are done in the respective language bindings. So it's implemented for C++, but also for the language Bindings. Python protobuf publisher: Python protobuf helper functionality: Python example usage: Basically, the python constructors take a type and descriptor string, and the helper functionality calculates this info from the protobuf type. So basically you will have to implement the same for Rust. To build on basic publishers / subscribers to add the required functionality. |
I was wondering why my protobuf messages are not being rendered in eCAL monitor. I even thought that it's an issue in eCAL, and submitted a ticket. However, I got a very helpful answer explaining that eCAL nodes should normally be able to provide the description of messages, which allows eCAL monitor to display them nicely. However, ecal-rs doesn't implement it at the moment.
The issue is around this line:
https://github.com/kopernikusauto/ecal-rs/blob/5fdc9e101f7df119111f2fdef809f77a478218a0/src/lib.rs#L163
The text was updated successfully, but these errors were encountered: