[Question] How can I visualize particles in Minigrid?
troiwill opened this issue · 0 comments
Question
I want to use Minigrid with tree search algorithms and I want to visualize the belief of the agent using a collection of particles (let's say the particles are small blue triangles). Similar to the existing visual for the agent (the red triangle), I want to set/update the position and direction of each particle before re-rendering the environment.
I thought of creating a particle world object. However, I see that the grid
variable assumes only one object occupies a given cell. So, when a particle is in the same cell as lava or any other object, I may inadvertently overwrite the pre-existing world object.
Question: What are some ways I can visualize particles representing the belief of the agent in Minigrid?