Robotics StackExchange | Archived questions

i can't generate the dir msg_gen/cpp

First,I make a msg file test.msg ,the content is bellow:

float32 a
float32 b

Second, I open the CMakeList.txt,Remove

# to uncomment the following line:
# rosbuild_genmsg()

Then, I run the command rosmake,and got a dir msg_gen.

The problem is that I can't generate a cpp directory in the msg_gen(only a dir lisp and a file generated). I can't use my own message type now!

Asked by ld007 on 2013-01-21 00:52:23 UTC

Comments

please see the recommended way for asking for support here: http://www.ros.org/wiki/Support. Tell us about your ROS version, and post the output of rosmake.

Asked by KruseT on 2013-01-21 01:17:00 UTC

Answers

You can not set the name of a message to "test". I think it's a reserved word. I am almost pretty sure that if you change its name,your problem would be solved.

Asked by Alireza on 2013-01-21 02:44:36 UTC

Comments