How to convert a ROS message file to an IDL file?
What is the terminal command to convert a ros message file to an idl file?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
What is the terminal command to convert a ros message file to an idl file?
The rosidl_adapter
core package exposes both scripts and an API to perform these conversions. For your case, use the msg2idl.py
script:
ros2 run rosidl_adapter msg2idl.py /path/to/msg/file
I'm not sure there is a terminal command, however, on build ROS will actually do this for you since its one of the first steps in the message compilation process. Build and install your ROS2 message package and you can find the generated .idl files alongside the original .msg files at
install/<my msgs package>/share/<my msgs package>/msg/<my msg>.idl
Asked: 2022-05-18 10:02:51 -0600
Seen: 551 times
Last updated: May 18 '22
[ROS2] using native RTI dds *.idl files with ROS2
Is the planned ROS1 to ROS2/DDS bridge available yet?
ROS2: content-based topic subscriptions?
ROS 2 Alpha 2 ros1_bridge using DDS between two computers
[ROS2] generating DDS .idl files from .msg ROS Message Format
What is the difference between ROS and ROS2 ?
How can i generate ROS2 .idl files ?