• Sixiang Chen's avatar
    Fix: observation space Dict for non-concatenated groups only keeps last term (#3134) · aec72bdc
    Sixiang Chen authored
    # Description
    
    This PR fixes a bug in the observation space construction for
    non-concatenated groups in `ManagerBasedRLEnv._configure_gym_env_spaces`
    method. Previously, only the last term in each group was included in the
    Dict, causing loss of observation information. Now, all terms are
    correctly added to the group Dict.
    
    Fixes #3133 
    
    <!-- As a practice, it is recommended to open an issue to have
    discussions on the proposed pull request.
    This makes it easier for the community to keep track of what is being
    developed or added, and if a given feature
    is demanded by more than one party. -->
    
    ## Type of change
    
    <!-- As you go through the list, delete the ones that are not
    applicable. -->
    
    - Bug fix (non-breaking change which fixes an issue)
    
    
    <!--
    Example:
    
    | Before | After |
    | ------ | ----- |
    | _gif/png before_ | _gif/png after_ |
    
    To upload images to a PR -- simply drag and drop an image while in edit
    mode and it should upload the image directly. You can then paste that
    source into the above before/after sections.
    -->
    aec72bdc
Name
Last commit
Last update
..
check_manager_based_env_anymal_locomotion.py Loading commit data...
check_manager_based_env_floating_cube.py Loading commit data...
test_action_state_recorder_term.py Loading commit data...
test_color_randomization.py Loading commit data...
test_direct_marl_env.py Loading commit data...
test_env_rendering_logic.py Loading commit data...
test_manager_based_env.py Loading commit data...
test_manager_based_rl_env_obs_spaces.py Loading commit data...
test_manager_based_rl_env_ui.py Loading commit data...
test_modify_env_param_curr_term.py Loading commit data...
test_null_command_term.py Loading commit data...
test_scale_randomization.py Loading commit data...
test_spaces_utils.py Loading commit data...
test_texture_randomization.py Loading commit data...