fix(rsl_rl): default obs_groups for new runners - #6440
Conversation
|
Hi, checking in on this fix for #5363. The PR remains conflict-free, though the branch is now behind main. I can update it before review if you prefer, or make any requested changes. |
|
Following up on this PR. The branch is currently behind |
eb49991 to
1249c55
Compare
|
Retargeted this PR from I originally opened this against The fix still applies on Verified locally against
So the new tests do fail without the fix rather than passing vacuously. Happy to make any changes you'd like. |
Summary:
obs_groupsmapping forOnPolicyRunnerconfigs when running with rsl-rl >= 4.0.0.obs_groupsvalues.obs_groupsin the rsl-rl deprecation helper.Why:
obs_groupsin runner configs. Existingplay.pyalready routes configs throughhandle_deprecated_rsl_rl_cfg()before callingOnPolicyRunner, so filling the missing default there keeps play/eval paths compatible without changing each script separately.Validation:
python -m compileall source\isaaclab_rl\isaaclab_rl\rsl_rl\utils.pypython -m compileall source\isaaclab_rl\test\test_rsl_rl_cfg_deprecation.pypython -m ruff check source\isaaclab_rl\isaaclab_rl\rsl_rl\utils.py source\isaaclab_rl\test\test_rsl_rl_cfg_deprecation.pyhandle_deprecated_rsl_rl_cfg()dummy-runner check for default and preservedobs_groupspython -m pytest source\isaaclab_rl\test\test_rsl_rl_cfg_deprecation.py -q(collection is blocked in this local environment by missing Isaac Sim / Warp packages)Notes for reviewers:
obs_groups.