Repository navigation
Support explicit resets for completed episodes - #8234
Draft
cvolkcvolk wants to merge 6 commits into
Draft
cvolkcvolk wants to merge 6 commits into
cvolkcvolk wants to merge 6 commits into
Conversation
Signed-off-by: Clemens Volk <[email protected]>
Signed-off-by: Clemens Volk <[email protected]>
5 of 7 tasks
cvolkcvolk
commented
Oct 1, 2026
cvolkcvolk
commented
Oct 1, 2026
cvolkcvolk
commented
Oct 1, 2026
Signed-off-by: Clemens Volk <[email protected]>
Signed-off-by: Clemens Volk <[email protected]>
Signed-off-by: Clemens Volk <[email protected]>
Signed-off-by: Clemens Volk <[email protected]>
6 of 7 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add an option to finish an episode without automatically starting another one. Callers can use
reset(env_ids)to start replacements in the environments they choose.With three parallel environments and three requested episodes, the first environment to finish should wait while the other two complete. Today,
ManagerBasedRLEnv.step()immediately resets it and starts a fourth episode. Simply skipping that reset leaves recording and observation histories tied to the wrong episode boundaries.What changes?
ManagerBasedRLEnvCfg.autoreset_modesupportsSAME_STEP(the default) andDISABLED. The environment ownsactive_episode_mask; callers decide when to start episodes throughreset()orreset_to().Physics and manager computations continue in inactive environments. Existing manager logs are generated on reset and are not frozen terminal summaries. Partial observation updates support function callbacks and built-in history/delay buffers; unsupported stateful observation terms, modifiers, and noise models are rejected before reset changes scene state.
Usage
Background: Arena needs exact episode limits, with finished environments waiting for the remaining episodes to complete.
Type of change
Validation
Checklist
uv run isaaclab -fCONTRIBUTORS.mdor my name already exists there