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

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

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

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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Question Tools

2 followers

Stats

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

Seen: 2,540 times

Last updated: Mar 25 '21