Ask Your Question
0

Why doesn't move_base depend on move_base_msgs

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

spmaniato gravatar image

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

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

Comments

2

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

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

+1, how about opening a github issue? https://github.com/ros-planning/navig... ?

joq gravatar image joq  ( 2016-06-15 11:34:15 -0500 )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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

spmaniato gravatar image

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

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

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: 2016-06-10 17:39:02 -0500

Seen: 229 times

Last updated: Jun 15 '16