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

The GridPath:: getPath function stopped prematurely while backtracking the path, resulting in the generation of incorrect global paths. #1264

Open
wants to merge 2 commits into
base: noetic-devel
Choose a base branch
from

Conversation

JackJu-HIT
Copy link

Through analysis of the algorithm and theoretical thinking, we have found that there is an issue with the code for the backtracking path of GridPath:: getPath. When searching for the backtracking path, it did not restrict the range of the inflated map. As the index mapping to Cartesian coordinates does not have uniqueness, if the search map range is not restricted, there is a good chance of finding an index value outside the map range that is the same as the starting point, and the backtracking function will terminate prematurely, resulting in the generation of an incorrect path that does not include the starting point.

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

Successfully merging this pull request may close these issues.

1 participant