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

actionlib tutorial inconsistency

asked 2013-01-15 13:13:48 -0500

Dave Coleman gravatar image

The SimpleActionServer(ExecuteCallbackMethod) tutorial has a CMakeList.txt inconsistency for Catkin/Groovy.

At one place it says:

find_package(catkin REQUIRED COMPONENTS actionlib_msgs) Note that CMake needs to find_package only actionlib_msgs (not message_generation that is referenced implicitly by actionlib_msgs).

Later it says:

find_package(catkin REQUIRED COMPONENTS actionlib message_generation)

I assume the second one was not updated and the first example is correct. Please confirm.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2013-01-15 13:27:34 -0500

130s gravatar image

You're right. The following should be correct. I updated the wiki. Thank you for reporting!

find_package(catkin REQUIRED COMPONENTS actionlib_msgs)
edit flag offensive delete link more

answered 2013-01-15 13:27:52 -0500

Dirk Thomas gravatar image

updated 2013-01-15 13:28:10 -0500

I fixed this in the tutorial. Basically the snippets at the top where up-to-date. So I updated the complete CMakeLists.txt at the end to be identical.

edit flag offensive delete link more

answered 2013-01-15 13:32:14 -0500

Dave Coleman gravatar image

There were actually two places to update. I updated the second one:

catkin_package(   CATKIN_DEPENDS
roscpp actionlib_msgs )
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-01-15 13:13:48 -0500

Seen: 382 times

Last updated: Jan 15 '13