• Pascal Roth's avatar
    Fixes issues related to the `Camera` sensor (#260) · 46ba0536
    Pascal Roth authored
    # Description
    
    This MR does the following:
    
    * Fixes pose computation in the `omni.isaac.orbit.sensors.Camera` class
    to obtain them from XFormPrimView instead of using the
    `UsdGeomCamera.ComputeLocalToWorldTransform` method. The latter is not
    updated correctly during GPU simulation.
    * Fixes initialization of the annotator info in the `Camera`.
    Previously, all info dicts had the same memory address, which caused all
    annotators to have the same info.
    * Fixes the conversion of `uint32` warp arrays inside the
    `omni.isaac.orbit.utils.array.convert_to_torch` method. PyTorch does not
    support this type, so it is converted to `int32` before converting to
    PyTorch tensor. This is needed to work with the replicator's output for
    semantic segmentation images.
    * Adds render call inside `omni.isaac.orbit.sim.SimulationContext.reset`
    to initialize Replicator buffers when the simulation is reset.
    
    ## 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
    `./orbit.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
    - [x] I have added my name to the `CONTRIBUTORS.md` or my name already
    exists there
    46ba0536
Name
Last commit
Last update
.github Loading commit data...
.vscode Loading commit data...
docker Loading commit data...
docs Loading commit data...
source Loading commit data...
.dockerignore Loading commit data...
.flake8 Loading commit data...
.gitignore Loading commit data...
.pre-commit-config.yaml Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
orbit.sh Loading commit data...
pyproject.toml Loading commit data...