Skip to content

Conversation

@yxy1996
Copy link

@yxy1996 yxy1996 commented Jun 15, 2019

If there is obstacles between robot and fronter, then |p1-p2| can't represent the true distance. We can introduce the search depth into the distance, because the nearer frontier will be found at earlier iteration. So we simply add a distance_cnt * resolution to the original distance to make it close to the true distance between robot and frontier in map.

If there is obstacles between robot and fronter, then |p1-p2| can't represent the true distance. We can introduce the search depth into the distance, because the near frontier will be found at early iteration.  So we simply add a distance_cnt * resolution to the original distance to make it close to the true distance between robot and frontier in map.
@yxy1996 yxy1996 changed the title Update frontier_search.cpp simple modification of min_distance In consideration of obstacles Jun 15, 2019
@hrnr hrnr added this to the 2.2 milestone Nov 10, 2019
@hrnr hrnr added the explore label Nov 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants