I am trying to learn how to use actionlib.  I would like my client and server to use the actionlib generated messages from another package.  I believe this should be possible, but I get a compilation error when compiling the client or server. 

 

Specifics:

I took the turtle_actionlib tutorial and split it into 3 packages: trtl_msgs, trtl_client, and trtl_server.  trtl_msgs contains no code and only has the .action files.  I modified the CMake file accordingly and this rosmakes fine.  (The .msg files get generated properly including the .h files and .py files.)  When I try to rosmake the client, I get this error:

 

/home/baxelrod/ros-tutorials/ros_pkg_tutorials/trtl_client/src/shape_client.cpp:4:35: error: trtl_msgs/ShapeAction.h: No such file or directory

 

I have double checked that trtl_msgs is listed as a dependency in the trtl_client manifest.  And I can see that the trtl_msgs/ShapeAction.h file does exist.  I don’t know why it is not being found.

 

Platform info:

Linux version 2.6.28-19-server (buildd@rothera) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #62-Ubuntu SMP Wed Jul 28 02:58:24 UTC 2010

ROS version: Boxturtle

 

I have attached my (very simple) sample code.  Is this a limitation of actionlib, or am I missing something obvious?

 

Thanks,

-Ben

 

--

Ben Axelrod

Research Scientist

iRobot Corporation

8 Crosby Drive, Mail Stop 8-1

Bedford, MA 01730

(781) 430-3315 (Tel)

(781) 960-2628 (Fax)

baxelrod@irobot.com