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

Is actionlib/msg directory deprecated in Fuerte?

asked 2012-04-14 16:24:51 -0600

Kei Okada gravatar image

In the fuerte distribution, /opt/ros/furte/share/actionlib directory contains action directly but does not have msg directory.

Does this mean that we have to create msg files from Test.action, TestRequest.action and TwoInts.action when we'd like to use these msg files directly? Since I'm developing my own ROS client libraries and need to read msg files under actionlib. Other packages contains action directory ( for example move_base_msgs ) also have msg directory and this wouldn't be a problem for me.

Fuerte:

$ ls action/
Test.action  TestRequest.action  TwoInts.action

Electric:

$ ls action/ msg
action/:
Test.action  TestRequest.action  TwoInts.action

msg:
TestAction.msg                 TestRequestGoal.msg
TestActionFeedback.msg         TestRequestResult.msg
TestActionGoal.msg             TestResult.msg
TestActionResult.msg           TwoIntsAction.msg
TestFeedback.msg               TwoIntsActionFeedback.msg
TestGoal.msg                   TwoIntsActionGoal.msg
TestRequestAction.msg          TwoIntsActionResult.msg
TestRequestActionFeedback.msg  TwoIntsFeedback.msg
TestRequestActionGoal.msg      TwoIntsGoal.msg
TestRequestActionResult.msg    TwoIntsResult.msg
TestRequestFeedback.msg
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-04-15 07:21:27 -0600

Lorenz gravatar image

updated 2012-04-15 07:39:26 -0600

Handling of messages has changed in Fuerte. Message headers for C++ are installed in /opt/ros/fuerte/include/<package>, python files are installed in /opt/ros/fuerte/lib/python2.7/dist-packages/<package>/msg and lisp files in /opt/ros/fuerte/share/common-lisp/ros/<package>.

Generation of message files for actions are just a temporary step and the msg files themselves are normally not required for compiling ros packages. As far as I can see, they are installed at the moment into /opt/ros/fuerte/share/actionlib/tmp/buildd/ros-fuerte-actionlib-1.8.4-0oneiric-20120406-2119/obj-x86_64-linux-gnu/actions_gen/. Not sure if that's actually a bug in the debian tool chain.

If you need the msg files, I guess you can use the script genaction.py that comes with actionlib_msgs. E.g.:

rosrun actionlib_msgs genaction.py /path/to/action/Foo.action -o /path/for/generated/files
edit flag offensive delete link more

Comments

Thanks for the answer. This seems "double standard" for me, since some package contains both "action" and "msg" as move_base_msgs, and some only have "action" as actionlib. Is there REP for defining this?

Kei Okada gravatar image Kei Okada  ( 2012-04-16 13:48:15 -0600 )edit

Everything now needs to be flagged to be installed. It sounds like these should be flagged for installation by the macros. I suggest you open a ticket at https://github.com/willowgarage/catkin/issues

tfoote gravatar image tfoote  ( 2012-04-16 21:24:47 -0600 )edit
Kei Okada gravatar image Kei Okada  ( 2012-05-09 02:43:33 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2012-04-14 16:24:51 -0600

Seen: 469 times

Last updated: Apr 15 '12