How do I make the robot stop aborting the navigation?
Hello there!
I've been working with the navigation stack in ROS Kinetic for a while now, and while things have been going fine, one thing has been bothering me, recently - the aborting routine.
The thing is, when the robot found an obstacle that it couldn't avoid, it used to do all the recovery behaviors and then abort the navigation. Then, I turned off all the recovery behaviors, and now it just aborts, first thing. The problem is, it aborts way too fast, ridiculously fast. In less than ten seconds, the robot stops and aborts navigation when stuck, before I can do anything to unstuck it.
I wanted a way either to increase the aborting cooldown - making it abort after more than a minute, for example -, or reduce it entirely. The problem with aborting is that it straight up cancels the route it was supposed to be navigating, so when the path is clear again, it won't get back to navigating, because the route was aborted. I'd prefer if the robot just stopped in place until the path was clear.
However, I'm not finding anything that can help me with that - changing the parameters of the recovery behavior doesn't help, because it's not exactly a recovery behavior, it seems, but something that happens after. Can someone give me a light on what to do?
Thanks in advance!
Have you tried increasing
controller_patience
(double, default: 15.0) How long the controller will wait in seconds without receiving a valid control before space-clearing operations are performed.
No, I didn't, I'll try it!
However, won't this prejudice the frequency on which the clear costmap will work clearing the map?
I learned this from another issue, not sure how all ties up, but see this link:
From: https://github.com/icclab/icclab_summ...
I know they are somehow interconnected based on Navigation Stack setup diagram but I need to dig more into how the inner works of
move_base
.I think the key is that
attempt_end
addscontroller_patience
formove_base.cpp
source code:https://github.com/ros-planning/navig...
Hello. I want exactly the same thing for my robot. Did you find a solution for this?