Re: [ros-users] actionlib tutorials

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Vijay Pradeep
Date:  
To: ros-users
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 <>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 <>
> 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)
> >
> >
> >
> >
> >
> > _______________________________________________
> > ros-users mailing list
> >
> > https://code.ros.org/mailman/listinfo/ros-users
> >
> >
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>




--
Vijay Pradeep
Systems Engineer
Willow Garage, Inc.
<>