Ask Your Question

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



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

Seen: 36 times

Last updated: May 23 '18