• Octi Zhang's avatar
    Fixes reset of sensor drift inside the RayCaster sensor (#1821) · 92f8930f
    Octi Zhang authored
    ## Description
    
    The drift in raycaster didn't update when reset. This MR now updates it
    correctly:
    
    before:
    ```python
    self.drift[env_ids].uniform_(*self.cfg.drift_range)
    ```
    
    now:
    ```python
    self.drift[env_ids] = self.drift[env_ids].uniform_(*self.cfg.drift_range)
    ```
    
    Fixes #1820 
    
    ## 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
    - [ ] 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
    92f8930f
Name
Last commit
Last update
..
config Loading commit data...
docs Loading commit data...
isaaclab Loading commit data...
test Loading commit data...
pyproject.toml Loading commit data...
setup.py Loading commit data...