• Bikram Pandit's avatar
    Resets recurrent state after episode termination in RSL-RL `play.py` (#3838) · e69b6d9b
    Bikram Pandit authored
    # Description
    
    This PR fixes an issue in recurrent policy evaluation where the
    recurrent state was not being reset after an episode termination. The
    missing reset caused residual memory to persist between episodes. The
    fix ensures that `reset()` is now called during evaluation in `play.py`
    for policy networks, including recurrent.
    
    Fixes #3837  <!-- replace with actual issue number -->
    
    ## Type of change
    
    - Bug fix (non-breaking change which fixes an issue)
    
    ## Screenshots
    
    N/A
    
    ## Checklist
    
    - [x] I have read and understood the [contribution
    guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
    - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
    `./isaaclab.sh --format`
    - [ ] I have made corresponding changes to the documentation where
    necessary
    - [x] My changes generate no new warnings
    - [x] I have added tests verifying that recurrent states are correctly
    reset during evaluation
    - [x] I have updated the changelog and corresponding version in the
    extension’s `config/extension.toml` file
    - [x] I have added my name to the `CONTRIBUTORS.md` or my name already
    exists there
    e69b6d9b
Name
Last commit
Last update
..
ray Loading commit data...
rl_games Loading commit data...
rsl_rl Loading commit data...
sb3 Loading commit data...
skrl Loading commit data...