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

potAito's profile - activity

2022-12-14 12:10:37 -0500 received badge  Great Question (source)
2022-04-05 00:07:32 -0500 received badge  Good Question (source)
2021-07-29 06:41:20 -0500 received badge  Nice Question (source)
2021-07-15 16:53:57 -0500 received badge  Student (source)
2015-09-01 01:28:10 -0500 received badge  Notable Question (source)
2015-09-01 01:28:10 -0500 received badge  Famous Question (source)
2015-04-03 08:51:56 -0500 commented answer How to exclude one package from the catkin_make build?

This is the coolest and quickest way to ignore a package, thanks. Can confirm it still works on Ubuntu 14.10 and Ros Indigo (compiled from source).

2015-04-01 17:35:48 -0500 received badge  Popular Question (source)
2015-03-31 11:36:29 -0500 commented answer Catkin: Use ROS message from another package

Aha! Thank you very much!

2015-03-30 11:48:36 -0500 commented answer Catkin: Use ROS message from another package

Huh it's working, thanks. I thought that's taken care of with build_depend. What exactly is ${catkin_EXPORTED_TARGETS}?

2015-03-30 11:48:09 -0500 received badge  Scholar (source)
2015-03-30 11:48:08 -0500 received badge  Supporter (source)
2015-03-30 11:25:01 -0500 asked a question Catkin: Use ROS message from another package

Hi guys

I'm trying to use a ROS message defined in another package, lets say message_package in my own package which I will call myPackage. The problem I have is that catkin first tries to build myPackage before message_package. Hence I get a compilation error:

fatal error: message_package/msg.h: No such file or directory #include "message_package/msg.h"

I don't understand why catkin does that. In the package.xml of myPackage I added

<build_depend> message_package </build_depend>

and in the CMakeLists.txt I added

find_package(catkin REQUIRED COMPONENTS
roscpp
std_msgs
genmsg
message_package )

What else can I do to tell catkin to compile message_package BEFORE myPackage, so that the necessary headers are there?