ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
self.move_base.cancel_goal()
only works if your self.move_base
object has sent the goal itself on the first place. Which I don't think is the case.
What @Orhan suggested in his answer can actually be accomplished by: self.move_base.cancel_all_goals()
.