Callback Based SimpleActionClient with Python
This tutorial shows how to do it with C++ : http://wiki.ros.org/actionlib_tutoria...
Does anyone know how to do it in Python?
This tutorial shows how to do it with C++ : http://wiki.ros.org/actionlib_tutoria...
Does anyone know how to do it in Python?
The Actionlib Tutorials Page includes an Actionlib Client Python Tutorial
The goal of using callback based action clients is to avoid using waitForResult and having different callbacks for result and feedback, which is not the case in the link you sent me. The purpose of this is to use only the feedback from the action and not the result. (Continuous face recognition in face_recognition package for example)
If you're not calling an action for the result, you might want to rethink your use of actionlib. You can also look at the Actionlib API documentation: http://docs.ros.org/hydro/api/actionlib/html/index.html .
activating and deactivating image processing pipelines is tricky. They usually have some temporal state, and a pretty significant startup time. I've seen solutions that only run the pipeline when there is a subscriber. You could also try using capabilities to start and stop the node.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2014-06-05 23:42:55 -0500
Seen: 1,750 times
Last updated: Jun 06 '14
About using callbacks [Not solved]
How do I dynamically link an SimpleActionClient to a SimpleActionServer?
I use actionlib to set goal, but I can't catkin_make
Callback of actionlib_msgs::GoalStatusArray fails
The parameter arrangement of a simple done callback function for an action client
Can multiple ActionServers share a goal callback?
Controlling NAO's joints using actionlib with nao_controller
Publishing a topic/message in a callback member function