[ros-users] actionlib over multiple packages
Axelrod, Benjamin
baxelrod at irobot.com
Thu Sep 9 20:40:02 UTC 2010
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_cli
ent.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 at 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 at irobot.com <mailto:ofitch at irobot.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20100909/6b555977/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: turtle_actionlib_split.tar.gz
Type: application/x-gzip
Size: 95861 bytes
Desc: turtle_actionlib_split.tar.gz
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20100909/6b555977/attachment-0004.bin>
More information about the ros-users
mailing list