-
Notifications
You must be signed in to change notification settings - Fork 2k
Adds record at close functionality to the RecorderManager #2826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Adds record at close functionality to the RecorderManager #2826
Conversation
* flushing data to file when env closes * formatting changes * addressed changes requested in PR * calling the del function for reward manager * modified doc string * add test for close function of recorder manager * Update source/extensions/omni.isaac.lab/omni/isaac/lab/managers/recorder_manager.py Co-authored-by: James Smith <142246516+jsmith-bdai@users.noreply.github.com> * minor docstring fix --------- Co-authored-by: James Smith <142246516+jsmith-bdai@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@peterd-NV do you mind taking a quick look at this change to make sure it's ok for mimic? |
Hi @kellyguo11 @jtigue-bdai, I just have a couple of questions to make sure that everything will work with Mimic workflows:
|
Thanks @peterd-NV
|
Thanks for the answers @jtigue-bdai. Yes, if we could add a cfg parameter to toggle if export occurs in close that would be great. Ideally, if we could have this parameter default to be |
Description
Introducing a close function to the recorder manager which exports the data to file when the environment is closed and closes the recorder terms.
Fixes # (issue)
Type of change
Screenshots
Checklist
pre-commit
checks with./isaaclab.sh --format
config/extension.toml
fileCONTRIBUTORS.md
or my name already exists there