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@code.ros.org
[mailto:ros-users-bounces@code.ros.org] On Behalf Of Vijay Pradeep
Sent: Friday, September 10, 2010 6:35 PM
To: ros-users@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%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@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@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@irobot.com
>
>
>
> _______________________________________________
> ros-users mailing list
> ros-users@code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users
--
Vijay Pradeep
Systems Engineer
Willow Garage, Inc.
vpradeep@willowgarage.com