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

genmsg_cpp on Windows

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

dunduk gravatar image

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

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 which lists the svn archive , 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

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

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

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

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

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

Lorenz gravatar image

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

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

Question Tools


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

Seen: 813 times

Last updated: Jun 18 '12