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

Bug in observation vector #26

Open
jadaross opened this issue Feb 7, 2023 · 0 comments
Open

Bug in observation vector #26

jadaross opened this issue Feb 7, 2023 · 0 comments

Comments

@jadaross
Copy link

jadaross commented Feb 7, 2023

The observation vector only ever returns 0 for the component of the observation space which indicates if a new session was created on drone d.

I believe this bug occurs when the observation vector is created in PettingZooParallelWrapper in the method observation_change which creates the observation vector. From my understanding the flag for a new session being created on drone d would be triggered if the following code block was ever evaluated as True: 'Sessions' in obs[hostname]. However the key 'Sessions' is never added to the observation dictionary and therefore this statement is never True.

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