• Kelly Guo's avatar
    Fixes the way seed was set in the benchmark_non_rl script (#3741) · 9808b6b8
    Kelly Guo authored
    # Description
    
    When seed was added to the benchmark_non_rl.py script, it was mistakenly
    trying to read from simulation config, which doesn't exist. We can set
    seed directly from the cli arguments since it's ok to be None if it's
    not specified.
    
    
    ## Type of change
    
    <!-- As you go through the list, delete the ones that are not
    applicable. -->
    
    - Bug fix (non-breaking change which fixes an issue)
    
    
    ## 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`
    - [x] 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
    -->
    9808b6b8
benchmark_non_rl.py 7.18 KB