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

what is difference between message_generation and genmsg?

asked 2013-06-14 23:42:16 -0600

updated 2013-06-14 23:43:45 -0600

what is difference between message_generation and genmsg?

[CreatingMsgAndSrv tutorial] find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs message_generation)

[WritingPublisherSubscriber tutorial] find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs genmsg)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
6

answered 2013-06-15 07:03:11 -0600

Dirk Thomas gravatar image

updated 2013-06-15 07:06:25 -0600

genmsg contains only the abstract message generation functionality.

message_generation depends on genmsg and the specific generators for languages ROS supports out-of-the-box: gencpp, genlisp and genpy. It is similiar to the former langs / langs-dev packages.

As a message package you always want to depend on message_generation.

Update: I have filled https://github.com/ros/catkin_tutorials/issues/8 to make sure the outdated tutorial gets updated.

edit flag offensive delete link more

Comments

It's helpful for me. Thanks. :)

Pyo gravatar image Pyo  ( 2013-06-15 19:10:48 -0600 )edit

It is not updated in the tutorial yet. [WritingPublisherSubscriber tutorial] still has genmsg instead of message_generation.

Furthermore in [CreatingMsgAndSrv tutorial] in the point 4, there is an error.

# In your catkin workspace
$ cd ../..   <=== SHOULD BE REMOVED.
$ catkin_make
marilia15 gravatar image marilia15  ( 2015-03-21 12:24:55 -0600 )edit

Question Tools

Stats

Asked: 2013-06-14 23:42:16 -0600

Seen: 3,052 times

Last updated: Jun 15 '13