How can I cancel a navigation command?
When I send a navigation request via rviz, how can I cancel the request?
Bonus points for a rostopic pub {blaj} Double bonus multiplier for python implementation
Thanks! :D
@Dereck im using the simple_navigation_goals and in ti you can cancel goals. Also do you know if it is possible to send a new goal before the old one is acomplished?
When you submit a new goal, the old one is replaced. (At least when I used it.)
@Dereck thanks im having a problem when i send the goal ac.sendGoal(goal) if i dont put ac.waitForResult(); the goal is not posted or the robot does not move, when i ac.waitForResult(); it does move. But due to this line im unable to post a new goal until the waitforresults ends. do you have any idea why or any ideas on how to solve it? i would really appreciate it
unfortunately I do not. Perhaps there is a way to inject a debug message in the action server to make sure that your action request is really making it to the server. Then make sure nothing else is overwriting your request? That's what I would do at least. :?
@Dereck thanks, one more question do you now to which topic is the goal posted to? thanks
i think it is: /move_base/goal But I can't say for certain
@Dereck thanks, last question is there a way to get the position of the robot?
That's called SLAM, an active research topic and there is a load of solutions. In ROS you would typicly use gmapping, but it's going to take some effort to get running. :) Good luck!