• Mayank Mittal's avatar
    Initializes manager term classes only when sim starts (#2117) · ba314082
    Mayank Mittal authored
    # Description
    
    To support creation of managers before the simulation starts playing (as
    needed by the event manager for USD randomizations), the MR in #2040
    added a callback to resolve scene entities at runtime. However, certain
    class-based manager terms can also not be initialized if the simulation
    is not playing. Those terms may often rely on parameters that are only
    available once simulation plays (for instance, joint position limits).
    
    This MR moves the initializations of class-based manager terms to the
    callback too.
    
    Fixes #2136
    
    ## Type of change
    
    - Bug fix (non-breaking change which fixes an issue)
    
    ## 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
    - [ ] 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
    
    ---------
    Co-authored-by: 's avatarKelly Guo <kellyg@nvidia.com>
    ba314082
test_texture_randomization.py 6.97 KB