• Pascal Roth's avatar
    Updates sensors to follow structure similar to assets (#123) · 6442cef5
    Pascal Roth authored
    # Description
    
    This MR adapts all the sensor classes to follow a structure similar to
    the `assets` classes. This removes the need to worry about the spawning
    and initialization of sensors manually by the users. It removes the
    `debug_vis` function since that is now handled by a render callback
    automatically (based on the passed configuration for the `debug_vis`
    flag).
    
    Additionally, the camera poses can now be set and obtained different
    conventions:
    
    * `opengl`: the camera is looking down the -Z axis with the +Y axis
    pointing up
    * `ros`: the camera is looking down the +Z axis with the +Y axis
    pointing down
    * `world`: the camera is looking along the +X axis with the -Z axis
    pointing down
    
    ## Type of change
    
    - New feature (non-breaking change which adds functionality)
    - Breaking change (fix or feature that would cause existing
    functionality to not work as expected)
    - This change requires a documentation update
    
    ## 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
    - [x] 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
    
    ---------
    Co-authored-by: 's avatarMayank Mittal <mittalma@leggedrobotics.com>
    6442cef5
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...
LICENSE Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
orbit.sh Loading commit data...
pyproject.toml Loading commit data...