ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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