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

env.add_agents can not add all agents #87

Open
ElizabethDuo opened this issue Jun 24, 2021 · 0 comments
Open

env.add_agents can not add all agents #87

ElizabethDuo opened this issue Jun 24, 2021 · 0 comments

Comments

@ElizabethDuo
Copy link

ElizabethDuo commented Jun 24, 2021

Hi MAgent team, thank you for your great project!

I am trying adding more agents by
env.add_agents(handles[0], method="custom", pos=pos_a)
env.add_agents(handles[1], method="custom", pos=pos_b)
env.add_agents(handles[2], method="custom", pos=pos_c)
env.add_agents(handles[3], method="custom", pos=pos_d)
pos_a, pos_b, pos_c, pos_d are lists of xy cordinations without repeat. And all positions are within the map.
Each position list has 64 positions, that is adding 64 agents.
But when adding the pos_d, there are only 24 agents being added.

Any idea of why it happens?
Thanks for the help!

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