• Kelly Guo's avatar
    Updates warning logging when writing joint limits (#252) · 6d9cfc49
    Kelly Guo authored
    In `omni.isaac.lab.assets.Articulation.write_joint_limits_to_sim`, we
    previously added a check for if default joint positions exceed the new
    limits being set. When this is True, we log a warning message to
    indicate that the default joint positions will be clipped to be within
    the range of the new limits. However, the warning message can become
    overly verbose in a randomization setting where this API is called on
    every environment reset. We now default to only writing the message to
    info level logging if called within randomization, and expose a
    parameter that can be used to choose the logging level desired.
    
    <!-- As you go through the list, delete the ones that are not
    applicable. -->
    
    - Bug fix (non-breaking change which fixes an issue)
    - New feature (non-breaking change which adds functionality)
    
    - [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
    - [x] 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
    -->
    6d9cfc49
CHANGELOG.rst 109 KB