Ask Your Question
5

what is difference between message_generation and genmsg?

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

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

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
5

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

Dirk Thomas gravatar image

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

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 imagePyo ( 2013-06-15 19:10:48 -0500 )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 imagemarilia15 ( 2015-03-21 12:24:55 -0500 )edit

Your Answer

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

Add Answer

Question Tools

Stats

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

Seen: 1,803 times

Last updated: Jun 15 '13