Ask Your Question
0

genmsg_cpp on Windows

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

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

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

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

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
0

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

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

Your Answer

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

Add Answer

[hide preview]

Stats

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

Seen: 134 times

Last updated: Jun 18 '12