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.
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.
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
Generating messages for rosjava?
Is it possible to change "msg" and "srv" folder position in a package ?
How can I find out the detailed API of messages?
publishing and subscribing Gyro msgs in a Turtlebot
Trouble hand-writing a sensor_msgs::Joy
ImportError: No module named msg
ROS Answers is licensed under Creative Commons Attribution 3.0 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.