Skip to content

[Question] How can I visualize particles in Minigrid? #450

@troiwill

Description

@troiwill

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions