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

Missing file in the ActionLib Intermediate Tutorial [closed]

asked 2014-02-12 22:13:53 -0500

bnm-rc gravatar image

updated 2014-02-12 22:54:45 -0500

ahendrix gravatar image

Hi everyone,

I was going through the tutorials on the ActionLib, when I recognized a missing file (description) on the Averaging Action . In the code explanation on the tutorial page ( http://wiki.ros.org/actionlib_tutoria... it says

[...] This includes action message generated from the Averaging.action file show above. This is a header generated automatically from the AveragingAction.msg file. [...]

, but there actually isn't any Averaging.action file shown on the page or previous pages. Also, the linked AveragingAction.msg ( http://www.ros.org/doc/api/actionlib_... ) isn't existing.

I worked around this with an improvised Averaging.action like this:

#goal
int32 samples
---
#result
int32 average
int32 samplecount
int32 stddeviation
---
#feedback
int32 samplenumber
int32 currentaverage
int32 currentstddeviation

but I am not sure if it will work semantically correctly when I proceed with the tutorial.

Could someone please update this?
Thanks in advance!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by bnm-rc
close date 2014-03-25 06:23:26

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-02-12 23:03:06 -0500

ahendrix gravatar image

The Averaging.action file is available in the actionlib_tutorial source on github: https://github.com/ros/common_tutoria...

It looks like the underlying problem here is that the common_tutorials package isn't in the documentation indexer in hyrdo. I've submitted https://github.com/ros/rosdistro/pull... to fix this. Once it's accepted, it should generate the missing documentation within a week or so.

edit flag offensive delete link more

Comments

Thanks a lot :)

bnm-rc gravatar image bnm-rc  ( 2014-02-13 02:25:08 -0500 )edit

I just found the mistake: It's all online, but it's not visible if Javascript is enabled. See the first site of the tutorial: http://wiki.ros.org/actionlib_tutorials/Tutorials/SimpleActionServer%28GoalCallbackMethod%29 It's cut off if Javascript is enabled. Maybe this is due to it seems to be outdated and nobody has had the time to update it. Event though, it would be worth mentioning for those who'd like to do the tutorial ;)

bnm-rc gravatar image bnm-rc  ( 2014-02-13 04:04:38 -0500 )edit
1

It looks like there was no version of that tutorial specified for hydro or indigo, but it was available for older version of ROS. Fixed.

ahendrix gravatar image ahendrix  ( 2014-02-13 08:14:44 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-02-12 22:13:53 -0500

Seen: 224 times

Last updated: Feb 12 '14