8000 Add a check for FSA memory full by btdubs · Pull Request #3 · Greenzie/astar-algorithm-cpp · GitHub
[go: up one dir, main page]

Skip to content

Add a check for FSA memory full#3

Open
btdubs wants to merge 2 commits intomasterfrom
btdubs/fail-for-max-steps
Open

Add a check for FSA memory full#3
btdubs wants to merge 2 commits intomasterfrom
btdubs/fail-for-max-steps

Conversation

@btdubs
Copy link
@btdubs btdubs commented Mar 29, 2023

If the FSA memory cannot allocate more nodes, the search will now fail explicitly.
Before, this behavior would also cause the search to fail but was not an explicit check so it could have other results.

Maybe there should be a different fail state or a reason for failure too, but this works for now.

@btdubs btdubs requested review from AGummyBear and lucas-tiz March 29, 2023 15:05
@lucas-tiz
Copy link

Did you test this in sim? We can force another memory failure in the avoidance test by reverting to the x, y, theta hash you originally used.

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.

2 participants

0