Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues while exploring large area with many unreachable frontiers. #40

Open
blablebli-robots opened this issue Feb 24, 2020 · 6 comments

Comments

@blablebli-robots
Copy link

Hello everyone,

I've been having issues whenever I am exploring a large area with many unreachable frontiers (robot won't fit). The issue is it takes forever to realize (if at all) there are no more new frontiers to explore. Sometimes it just keeps rotating in place forever, as if trying to go somewhere but no path is ever found. Otherwise everything works great. Any pointers as to where to look at to avoid this behaviour?

Cheers

@artemiialessandrini
Copy link

artemiialessandrini commented Mar 31, 2020

@blablebli-robots
Hi, could increasing min_frontier_size param do any difference?

@artemiialessandrini
Copy link

artemiialessandrini commented Apr 2, 2020

Or you can try to tweak goal_distance_bias in your planner?

@blablebli-robots
Copy link
Author

blablebli-robots commented Apr 13, 2020

Thank you for your response. I tried both of your suggestions, however the frontier sizes are large enough to be considered, but otherwise unreachable from a path planning point of view (robot wont fit, but laser beams will). Imagine a rectangular room divided by many vertical columns which are separated from each other but close enough to each other that the robot footprint wont fit through. After exploration, I end up with a map with lots of large enough unreachable frontiers produced by the shadows of the columns.

So relaxing goal_distance_bias does not help either.

Thank You.

@robbiedood
Copy link

robbiedood commented Sep 16, 2020

I was wondering if you've solved the problem. Did you write codes to set a timeout flag to finish the exploration if there is no available paths ?

@blablebli-robots
Copy link
Author

@lukelu0520 not really, I still have this issue. As the mapping is progressing it will be difficult, from my point of view, to get rid of these frontiers as the robot may not be completely enclosed by obstacles until the very end of the exploration. We may not discard them all, like with a timer, as there may be some valid frontiers left in the possibly huge list.

@ninja-hu
Copy link

ninja-hu commented Jul 7, 2022

You might want to increase the planner_patience parameter of the global planner. For large maps, if the planner cannot find a valid path within that time threshold, the robot will perform recovery function (in place rotation) and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants