Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 667

How to cancel a move_base goal using smach SimpleActionState?

$
0
0
Hello, I am using smach with a SimpleActionState to send navigation goals to move_base with: StateMachine.add('GO_TO_DOCKING_ZONE',SimpleActionState('move_base',MoveBaseAction, goal_cb = goal_callback, result_cb=goToDocking_result_cb),transitions = {'succeeded':'IR_MONITOR'}) And I would like to cancel this goal. I know that the way to do that is with cancel_goal function, but I do not how to call it using smach. Any suggestions? Best regards, Teresa

Viewing all articles
Browse latest Browse all 667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>