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

Where can I find generated C++ files for .msg?

asked 2019-12-09 19:04:23 -0500

peetonn gravatar image

Is it possible to find generated source code for messages? I'm building a (mobile) client that needs to communicate with the server using custom messages. I can see .msg files for them in the server codebase, but can't find source files that I can easily import into the client codebase.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-12-10 03:29:37 -0500

gvdhoorn gravatar image

updated 2019-12-10 03:30:05 -0500

gencpp generates C++ headers for each .msg that you ask it to process.

Those you can find in the include/$pkgname directory of the devel space of a workspace.

For packages that you've installed using apt, you can find them in /opt/ros/$ROS_DISTRO/include/$pkgname.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-12-09 19:04:23 -0500

Seen: 349 times

Last updated: Dec 10 '19