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

Fix action assignment bug in multi-dimensional action space #5889

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Commits on Mar 29, 2023

  1. Update unity_pettingzoo_base_env.py

    Modify self._current_action[current_behavior] so that actions can be passed to Unity exactly.
    MortalreminderPT committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    611fda0 View commit details
    Browse the repository at this point in the history
  2. Update unity_pettingzoo_base_env.py

    MultiDiscrete actions in Unity cannot be executed correctly, so you need to assign action.discrete directly to self._current_action[current_behavior].discrete
    MortalreminderPT committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    fa7b0cf View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. Update unity_pettingzoo_base_env.py

    verified that it can correctly assign actions in each case
    MortalreminderPT committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    7483848 View commit details
    Browse the repository at this point in the history