• jtigue-bdai's avatar
    Fixes device propogation for noise and adds noise tests (#1175) · fb72d92a
    jtigue-bdai authored
    # Description
    
    This PR adds in logic to fix errors when noise config parameters are
    tensor based and do not have the correct device setting. This adds a
    check at the beginning of each noise function to correct the config
    parameters device if they are torch.tensors. In addition this PR adds
    tests for noise models.
    
    ## 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
    fb72d92a
Name
Last commit
Last update
..
test_assets.py Loading commit data...
test_circular_buffer.py Loading commit data...
test_configclass.py Loading commit data...
test_delay_buffer.py Loading commit data...
test_dict.py Loading commit data...
test_math.py Loading commit data...
test_modifiers.py Loading commit data...
test_noise.py Loading commit data...
test_string.py Loading commit data...
test_timer.py Loading commit data...