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.
answered 2012-06-13 04:56:21 -0500Daniel Stonier
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.
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.
answered 2012-06-18 11:42:14 -0500dunduk
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.
Asked: 2012-06-12 17:56:08 -0500
Seen: 76 times
Last updated: Jun 18 '12