ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Sending goal for navigation using SimpleActionClient

asked 2011-06-02 17:56:01 -0600

TayXR gravatar image

updated 2014-01-28 17:09:46 -0600

ngrennan gravatar image

Hi everyone,

I was able to send goal to the robot, but I wanted to know when the robot has reached the goal by using callback. Does anyone has any idea how this can be done in the sendGoal function of the SimpleActionClient?

Thanks, TayXR

edit retag flag offensive close merge delete

Comments

It can't be done in sendGoal as the idea of actionlib is to have the (long-term) action run in the background. It can be done using SimpleActionClient, however. This tutorial describes the process: [Sending Goals](http://www.ros.org/wiki/navigation/Tutorials/SendingSimpleGoals)

dornhege gravatar image dornhege  ( 2011-06-02 22:04:47 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-06-05 23:40:19 -0600

Mehdi. gravatar image

It can be done using Actionlib under C++. Check this link: http://wiki.ros.org/actionlib_tutoria...

For an example check the face_recognition package, it uses exactly the same structure as the one in the link I sent you. However I'm still looking for a python equivalent of that as there is no tutorials about it.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-06-02 17:56:01 -0600

Seen: 1,428 times

Last updated: Jun 05 '14