Ask Your Question
0

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

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

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 -0600

gvdhoorn gravatar image

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

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

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

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

Seen: 30 times

Last updated: Dec 10 '19