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

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

Open
troiwill opened this issue Sep 9, 2024 · 0 comments
Open

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

troiwill opened this issue Sep 9, 2024 · 0 comments

Comments

@troiwill
Copy link

troiwill commented Sep 9, 2024

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?

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