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

In the pursuit (2vs5), why can't step the actions like [2,2]? #33

Open
Amanda2024 opened this issue Sep 21, 2021 · 0 comments
Open

In the pursuit (2vs5), why can't step the actions like [2,2]? #33

Amanda2024 opened this issue Sep 21, 2021 · 0 comments

Comments

@Amanda2024
Copy link

Amanda2024 commented Sep 21, 2021

env = pursuit_v3.env(max_cycles=500, x_size=16, y_size=16, local_ratio=1.0, n_evaders=5,
n_pursuers=2,obs_range=7, n_catch=2, freeze_evaders=False, tag_reward=0.01,
catch_reward=5.0, urgency_reward=0.0, surround=True, constraint_window=1.0)

if the joint action is [2,2], how can I step it?
I tried env.step([2,2]), but return AssertionError: action is not in action space

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