[ros-users] actionlib tutorials
Axelrod, Benjamin
baxelrod at irobot.com
Mon Sep 13 14:59:27 UTC 2010
Thank you for the very clear tutorial. Is there a way to give sendGoal
callbacks that are members of a Client class? It seems to only want
global functions or perhaps static members...
From: ros-users-bounces at code.ros.org
[mailto:ros-users-bounces at code.ros.org] On Behalf Of Vijay Pradeep
Sent: Friday, September 10, 2010 6:35 PM
To: ros-users at code.ros.org
Subject: Re: [ros-users] actionlib tutorials
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%20Call
back%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_suppl
icant_node/src/nodes/wpa_supplicant_node.cpp
Python
https://code.ros.org/svn/ros-pkg/stacks/linux_networking/branches/networ
k_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.
vpradeep at willowgarage.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100913/a18e972e/attachment-0003.html>
More information about the ros-users
mailing list