Closed Toefinder closed 2 years ago
This turns out to not be a bug since the car is allowed to go out of the arena (however this may be unsafe).
We should modify check_within_border()
method of Robot
class to ensure the car does not move to unsafe area.
This has been fixed as a side result of #56 where we can flexibly edit BOUNDARY_BUFFER
in a star search to be a negative value to allow the car to move that many cells out side of the main grid. The car can then move to previously inaccessible obstacles.
The car animation moves out of the arena. We can fix this and even make driving safer by adding a padding near the wall.