• 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
..
actuators Loading commit data...
assets Loading commit data...
command_generators Loading commit data...
compat Loading commit data...
controllers Loading commit data...
devices Loading commit data...
envs Loading commit data...
managers Loading commit data...
markers Loading commit data...
scene Loading commit data...
sensors Loading commit data...
sim Loading commit data...
terrains Loading commit data...
utils Loading commit data...
__init__.py Loading commit data...
app.py Loading commit data...