Ask Your Question
1

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
1

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
1

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
0

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

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

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

Seen: 284 times

Last updated: Jan 15 '13