Ask Your Question
0

actionlib_msgs required as build and exec dependencie, but not mentioned in tutorial.

asked 2021-02-09 09:17:33 -0600

LennartL gravatar image

I am trying to implement my first action server on my own. I am following the following tutorial closely:

https://wiki.ros.org/actionlib_tutori...

After modifying my CMakeLists.txt as described in the tutorial and adding

<exec_depend>message_generation</exec_depend>

to my package.xml, catkin_make demanded actionlib_msgs to be a build and an exec dependency. So I added

<build_depend>actionlib_msgs</build_depend>
<exec_depend>actionlib_msgs</exec_depend>

to the package.xml.

My question is why this is required and why it is not mentioned in the tutorial.

I am using Ubuntu 20.04 an Ros Noetic.

edit retag flag offensive close merge delete

Comments

The tutorials are a wiki, which means that anyone with an account can edit them. If this is something that you think should be in there feel free to add it.

jayess gravatar image jayess  ( 2021-03-27 20:53:15 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-03-25 10:22:18 -0600

It's required because the tutorial uses it in the CMakeLists.txt:

find_package(catkin REQUIRED COMPONENTS actionlib_msgs)

So the tutorial probably also should mention this needs to be in the package.xml

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

2 followers

Stats

Asked: 2021-02-09 09:17:33 -0600

Seen: 567 times

Last updated: Mar 25