Improves recorder manager to support customized demo indices. (#3552)
# Description <!-- Thank you for your interest in sending a pull request. Please make sure to check the contribution guidelines. Link: https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html💡 Please try to keep PRs small and focused. Large PRs are harder to review and merge. --> Current manager-based workflow leveraged recorder_manager to store demo obs and actions to hdf5 file. - But it only outputs successful demos and accumulates the demo index - Not supporting customized demo index (the use case is like: replay an existing hdf5, and store successful demos while keeping its original demo index) The modification in this PR: - keeps original function, but extends to store demo with specific demo index <!-- 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. --> - New feature (non-breaking change which adds functionality) ## Screenshots | Before | After | | ------ | ----- | |<img width="100" height="150" alt="Screenshot from 2025-09-25 10-20-31" src="https://github.com/user-attachments/assets/b4af24df-2781-4ba2-8693-fd246875012b" />|<img width="100" height="150" alt="Screenshot from 2025-09-25 10-20-47" src="https://github.com/user-attachments/assets/e86d3210-e205-4d6b-b83e-cf69a585743b" /> | ## 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 - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [ ] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task --> --------- Co-authored-by:ooctipus <zhengyuz@nvidia.com>
Showing
Please register or sign in to comment