• nv-mhaselton's avatar
    Adds Headless XR support and Centralize XR-specific Settings (#278) · 799a4f7f
    nv-mhaselton authored
    Adds headless XR support to Isaac Lab and refactors the AppLauncher:
    * Fixed headless XR rendering with Kit XR's OpenXR extension
    * Automatically enables AR mode when running headless
    * Centralized XR-specific settings from code to Kit app configuration
    files
    * Added new `isaaclab.python.xr.openxr.headless.kit` configuration file
    * Introduced `--xr` flag in AppLauncher for explicit XR mode control
    (also supports `XR=1` environment variable)
    * Device resolution for XR should default to CPU unless overridden
    * In a separate commit, the AppLauncher configuration resolution is
    broken down to resolve the flake8 C901 complexity violation
    
    <!-- As you go through the list, delete the ones that are not
    applicable. -->
    
    - New feature (non-breaking change which adds functionality)
    
    Please attach before and after screenshots of the change if applicable.
    
    <!--
    Example:
    
    | Before | After |
    | ------ | ----- |
    | _gif/png before_ | _gif/png after_ |
    
    To upload images to a PR -- simply drag and drop an image while in edit
    mode and it should upload the image directly. You can then paste that
    source into the above before/after sections.
    -->
    
    - [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
    - [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
    
    <!--
    As you go through the checklist above, you can mark something as done by
    putting an x character in it
    
    For example,
    - [x] I have done this task
    - [ ] I have not done this task
    -->
    799a4f7f
isaaclab.python.xr.openxr.headless.kit 1.39 KB