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

How and where are the idl files generated for default examples in ROS2?

asked 2018-05-23 07:10:47 -0500

aks gravatar image

For the example : demo_nodes_cpp we use std_msgs rather than some customised messages. Thus we do not need to define any msg folder. So where and how the idl files are generated ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-05-23 10:18:55 -0500

Dirk Thomas gravatar image

When the std_msgs package is being built the .msg / .srv files are being transformed into .idl files. Those are being installed by the package into share/std_msgs/msg/dds_<connext|opensplice>.

For prototyping and testing using messages from std_msgs is fine. But for real interfaces of ROS nodes you should define your own messages with custom semantic.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-05-23 07:10:47 -0500

Seen: 177 times

Last updated: May 23 '18