-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Exploration] Agents are stuck on closed areas #17
Comments
@FabioPapacchini try to think if there is a solve for this problem. Both strategies that we discussed in the last meeting do not work. First, the strategy about picking adjacent blocks until we arrive at the initial block does not work. Picking an empty position past an obstacle and planning the path also does not work. |
How about this:
Not sure how you are deciding what to clear here. I would use some heuristic so to pick the direction with most empty cells (which could be right if there are more empty cells beyond the obstacle). On the specific example, however, clearing the obstacle on the left should also clear the second obstacle on the left (the center of the clear action should be (-2,0) w.r.t. A). |
If the clear event spawns obstacles and closes the agent, and assuming the area that is closed is bigger than the agent vision, then it is impossible for it to get out.
I don't see any solution for this in the dummy version, unless we start using clear during exploration, however using linked lists it should be possible to solve this problem, using clear only when it is really needed.
The text was updated successfully, but these errors were encountered: