-
Notifications
You must be signed in to change notification settings - Fork 15
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
how to convert .idl file to .proto file #24
Comments
The proto files are only intermediate files for this type-support. You should find them by searching your build directory for proto files. I think the command line to do that from terminal should be |
Thanks for the reply. Now I can exchange ros2 message with ecal protobuf message by the type-support and rmw_ecal. |
Sure, this works for any ROS2 message. When using the protobuf typesupport in a ROS2 project it even is required to "convert" all the standard messages that you are using, because ROS2 doesn't ship with them. |
As of #31 there is now automatically generated Type Adapter functions which will convert between ROS native datatypes and the Proto in memory datatypes. |
I got the package and colcon build it.
But I cannot find the proto file in the workspace.
On continue, I find it use the rosidl_adaptor_proto to generate files, but it need argument with "--generator-arguments-file" that I cannot GET it.
Please show the detail step.
Thank You!
@FlorianReimold
The text was updated successfully, but these errors were encountered: