move_base stop navigation
I am using the navigation stack with Trajectory Planner and dwa enabled. I am looking for a straightforward way to stop my robot during its navigation (for emergency or safety reason for example). One way to do this is to send the current robot position as a goal, but I am wondering if a stop navigation service already exists. I found the topic /move_base/cancel, but it is a request to cancel a specific goal. Any suggestions?
@rastaxe did you ever tested to stop the robot posting its actual position as goal?? if so how did you do it?
sorry for the late response, but I found only now this comment. Yes, actually I use the current position of the robot as a goal, to stop it in a reactive way. It is straightforward, with amcl you can read the amcl_pose topic and sends this pose as goal with actionlib.