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

Why doesn't move_base depend on move_base_msgs

asked 2016-06-10 17:39:02 -0600

spmaniato gravatar image

updated 2016-06-15 20:20:59 -0600

Looking at the CMakeLists.txt for move_base (link), why is there no mention of move_base_msgs ? I would expect to see something like:

`add_dependencies(move_base move_base_msgs_gencpp)`

and/or see move_base_msgs listed under find_package COMPONENTS

Without that, how is it able to include the following (automatically generated) header in move_base.h:

#include <move_base_msgs/MoveBaseAction.h>

And how does catkin know to generate the MoveBase.action msgs and headers before building move_base ?

Update: A colleague figured out that it's related to whether the packages are built in isolation or not.

edit retag flag offensive close merge delete



Looks like a bug. Are you seeing errors related to this?

ahendrix gravatar image ahendrix  ( 2016-06-15 11:11:04 -0600 )edit

+1, how about opening a github issue? ?

joq gravatar image joq  ( 2016-06-15 11:34:15 -0600 )edit

I do if I don't build in isolation (i.e. when not using catkin_make_isolated or catkin build). Specifically, it cannot find the header file mentioned above. I'll open an issue. Thanks guys!

spmaniato gravatar image spmaniato  ( 2016-06-15 11:52:41 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-06-15 18:55:02 -0600

spmaniato gravatar image

updated 2016-06-15 18:56:26 -0600

I opened an issue (ros-planning/navigation/#483) where I also included my hypothesis as to why this only becomes a problem when building with catkin_make but not with catkin_make_isolated or catkin build

edit flag offensive delete link more

Question Tools



Asked: 2016-06-10 17:39:02 -0600

Seen: 374 times

Last updated: Jun 15 '16