Repository navigation
Adds record at close functionality to the RecorderManager - #2826
kellyguo11 merged 15 commits into
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 <[email protected]> * minor docstring fix --------- Co-authored-by: James Smith <[email protected]>
|
@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 |
Signed-off-by: James Tigue <[email protected]>
Signed-off-by: James Tigue <[email protected]>
|
@peterd-NV @kellyguo11 i have added the configuration parameter to this. Let me know what you think. Also i can't seem to get the recorder manager test to run locally for main or this branch. Anyone else having this issue? |
Signed-off-by: ooctipus <[email protected]>
Signed-off-by: James Tigue <[email protected]>
Signed-off-by: James Tigue <[email protected]>
Signed-off-by: James Tigue <[email protected]>
|
@kellyguo11 is anyone else seeing timeouts for: I can't seem to replicate locally |
|
hmm I haven't been noticing, let me trigger it again |
|
I can't repro locally as well, likely not relevant to this PR. |
…2826) # 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 <!-- As you go through the list, delete the ones that are not applicable. --> - New feature (non-breaking change which adds functionality) ## Screenshots ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] 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 --> --------- Signed-off-by: James Tigue <[email protected]> Signed-off-by: ooctipus <[email protected]> Co-authored-by: Eva M. <[email protected]> Co-authored-by: James Smith <[email protected]> Co-authored-by: ooctipus <[email protected]>
…2826) # 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 <!-- As you go through the list, delete the ones that are not applicable. --> - New feature (non-breaking change which adds functionality) ## Screenshots ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] 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 --> --------- Signed-off-by: James Tigue <[email protected]> Signed-off-by: ooctipus <[email protected]> Co-authored-by: Eva M. <[email protected]> Co-authored-by: James Smith <[email protected]> Co-authored-by: ooctipus <[email protected]>
…2826) # 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 <!-- As you go through the list, delete the ones that are not applicable. --> - New feature (non-breaking change which adds functionality) ## Screenshots ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] 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 --> --------- Signed-off-by: James Tigue <[email protected]> Signed-off-by: ooctipus <[email protected]> Co-authored-by: Eva M. <[email protected]> Co-authored-by: James Smith <[email protected]> Co-authored-by: ooctipus <[email protected]>
…2826) # 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 <!-- As you go through the list, delete the ones that are not applicable. --> - New feature (non-breaking change which adds functionality) ## Screenshots ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] 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 --> --------- Signed-off-by: James Tigue <[email protected]> Signed-off-by: ooctipus <[email protected]> Co-authored-by: Eva M. <[email protected]> Co-authored-by: James Smith <[email protected]> Co-authored-by: ooctipus <[email protected]>
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-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there