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

If rover starts searching close to the edge of the arena, goal location can be set to outside arena #5

Open
ManuelMeraz opened this issue Jun 28, 2017 · 0 comments

Comments

@ManuelMeraz
Copy link
Contributor

After observing the rover in a travel state using a random heading, it reached the edge of the arena. We had programmed it to iterating through the CPFA state machine call through the CPFA search controller, which would eventually trigger the rover to switch to an uninformed search. I then realized that this means that the rover would inevitably switch to an uninformed search, it was just a matter of time before it switches while running into the wall. We might as well just have the rover switch to an uninformed search as soon as it hits the edge of the wall because in a sense, we are just delaying this inevitability.

After observing the rover in an uninformed search state at the edge of the arena, I noticed that it kept trying to travel into the wall. This logically means that it set a goal location outside of the wall.

Solution: As soon as the rover's current location + the search step size is equivalent to the edge of the arena, then we can just switch to uninformed search state.

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

No branches or pull requests

1 participant