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

genmsg_cpp on Windows

asked 2012-06-12 12:56:08 -0600

dunduk gravatar image

updated 2014-01-28 17:12:39 -0600

ngrennan gravatar image

I am building a transportation system simulator application, that uses roscpp on Windows. I'm trying to find a way to generate c++ header files from YAML srv/msg files. I found about the genmsg_cpp but can't find it now, the search on the wiki gives me this page http://www.ros.org/wiki/genmsg_cpp which lists the svn archive https://code.ros.org/svn/ros/stacks/ros/trunk/core/genmsg_cpp , that does not exist anymore. I would greatly appreciate is somebody could explain how to generate the header files without using the build script, which is not available on Windows.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2012-06-12 23:56:21 -0600

Daniel Stonier gravatar image

If you're after just basic msg types, you can use the Windows SDK. Otherwise, you can always add extra msg stacks and build the sdk with your extra msgs yourself. The sdk will give you roscpp, roscpp serialization and msgs.

If they are just standard ros messages which have already been catkinized, I can add them easily to the sdk build for you.

edit flag offensive delete link more
0

answered 2012-06-12 22:53:04 -0600

Lorenz gravatar image

updated 2012-06-12 23:46:29 -0600

genmsg_cpp is really outdated. I think it is gone since Electric or even Diamondback and has been replaced by python tools.

The current message generator for C++ can be found here. The genmsg library can be found here. The actual development repositories can be found here and here. I'm not sure if the generator scripts really work on Windows already but they should at least not be that Linux specific anymore since there is experimental support for Windows now. For more information, have a look here.

edit flag offensive delete link more
0

answered 2012-06-18 06:42:14 -0600

dunduk gravatar image

Thank you Lorenz and snorri a lot for the clarification. The messages we are using are not basic msg types. I will try to use Windows SDK then to build our messages and will use the genmsg as a backup.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-06-12 12:56:08 -0600

Seen: 828 times

Last updated: Jun 18 '12