call MoveBaseAction from within a recovery_behavior
I tried to call the move_base
as a SimpleActionClient from within a recovery_behavior
. The recovery_behavior
starts as expected and the SimpleActionServer is connected (checked with client.isServerConnected()
). I then cancel all existing goals with client.cancelAllGoals()
. But after sending the new goal via client.sendGoal(goal)
, I only get the state PENDING
from the SimpleActionServer and the goal is not getting executed.
So I was wondering if it is even possible to call a new goal from within a recovery_behavior
or if the error is somewhere in my code.
Thanks for any help. If needed, I can of course provide some code snippets.
System: Hydro on Ubuntu 12.04
Is this recovery behavior in the same node as the move_base action server?
No. I implemented it in another node. Would that make a difference?