[ros-users] actionlib tutorials

Vijay Pradeep vpradeep at willowgarage.com
Fri Sep 10 22:34:54 UTC 2010


Hi Ben,

I'm sorry that you're having trouble learning how to use actionlib.  I just
put together a fairly short example of how to use the simple action client
callbacks:
http://www.ros.org/wiki/actionlib_tutorials/Tutorials/Writing%20a%20Callback%20Based%20Simple%20Action%20Client

Hopefully this will give you something to build off of.  If it doesn't
answer your questions, please let me know, and I can try iterating on the
example.

Good luck,
Vijay

On Fri, Sep 10, 2010 at 10:46 AM, Blaise Gassend <blaise at willowgarage.com>wrote:

> There are some examples in the linux_networking stack. They are still
> under heavy development, and not particularly simple, but should give
> you the general idea.
>
> C++
>
> https://code.ros.org/svn/ros-pkg/stacks/linux_networking/trunk/wpa_supplicant_node/src/nodes/wpa_supplicant_node.cpp
>
> Python
>
> https://code.ros.org/svn/ros-pkg/stacks/linux_networking/branches/network_monitor_udp/nodes/udpmonsourcenode.py
>
> On Fri, Sep 10, 2010 at 10:37 AM, Axelrod, Benjamin <baxelrod at irobot.com>
> wrote:
> > I am a little disappointed in the actionlib tutorials (for boxturtle).
>  They
> > all seem to demonstrate the same pattern, where the client blocks while
> the
> > server is running.  Does anyone have any examples where the client
> actually
> > subscribes to the Done, Active, and Feedback messages?  Ideally, the
> client
> > would not simply call: client.waitForResult(), but instead use the full:
> >
> >
> >
> > sendGoal  (  const Goal &   goal,
> >
> >             SimpleDoneCallback  done_cb,
> >
> >             SimpleActiveCallback  active_cb,
> >
> >             SimpleFeedbackCallback  feedback_cb
> >
> > )
> >
> >
> >
> > I can’t figure out the proper function signature for the Done, Active,
> and
> > Feedback callbacks.
> >
> >
> >
> > 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
> >
> >
> >
> > _______________________________________________
> > ros-users mailing list
> > ros-users at code.ros.org
> > https://code.ros.org/mailman/listinfo/ros-users
> >
> >
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>



-- 
Vijay Pradeep
Systems Engineer
Willow Garage, Inc.
 <tfoote at willowgarage.com>vpradeep at willowgarage.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100910/0ca5cab3/attachment-0003.html>


More information about the ros-users mailing list