diff --git a/scripts/reinforcement_learning/rsl_rl/play.py b/scripts/reinforcement_learning/rsl_rl/play.py index 11ef7399462..fe988508ef9 100644 --- a/scripts/reinforcement_learning/rsl_rl/play.py +++ b/scripts/reinforcement_learning/rsl_rl/play.py @@ -185,7 +185,9 @@ def main(env_cfg: ManagerBasedRLEnvCfg | DirectRLEnvCfg | DirectMARLEnvCfg, agen # agent stepping actions = policy(obs) # env stepping - obs, _, _, _ = env.step(actions) + obs, _, dones, _ = env.step(actions) + # reset recurrent states for episodes that have terminated + policy_nn.reset(dones) if args_cli.video: timestep += 1 # Exit the play loop after recording one video diff --git a/source/isaaclab/config/extension.toml b/source/isaaclab/config/extension.toml index 5903a09cef4..d281efd1f7f 100644 --- a/source/isaaclab/config/extension.toml +++ b/source/isaaclab/config/extension.toml @@ -1,7 +1,7 @@ [package] # Note: Semantic Versioning is used: https://semver.org/ -version = "0.47.5" +version = "0.47.6" # Description title = "Isaac Lab framework for Robot Learning" diff --git a/source/isaaclab/docs/CHANGELOG.rst b/source/isaaclab/docs/CHANGELOG.rst index 5fd5463ae75..ae75c3782f6 100644 --- a/source/isaaclab/docs/CHANGELOG.rst +++ b/source/isaaclab/docs/CHANGELOG.rst @@ -1,6 +1,16 @@ Changelog --------- + +0.47.6 (2025-11-01) +~~~~~~~~~~~~~~~~~~~~ + +Fixed +^^^^^ + +* Fixed an issue in recurrent policy evaluation in RSL-RL framework where the recurrent state was not reset after an episode termination. + + 0.47.5 (2025-10-30) ~~~~~~~~~~~~~~~~~~~