OpenXR handtracking support for Isaac Lab#448
Open
Ashok93 wants to merge 8 commits intointrinsic-dev:mainfrom
Open
OpenXR handtracking support for Isaac Lab#448Ashok93 wants to merge 8 commits intointrinsic-dev:mainfrom
Ashok93 wants to merge 8 commits intointrinsic-dev:mainfrom
Conversation
Add XR configuration and handtracking device to the AIC task environment, enabling VR teleoperation via OpenXR/SteamVR alongside the existing keyboard, spacemouse, and gamepad devices.
Isaac Lab's remove_camera_configs() expects observation attributes named *_camera, but AIC uses *_rgb. Fall back to AIC naming on AttributeError.
Hand-tracking devices do not emit START/STOP/RESET messages, so XR sessions need terminal hotkeys (s/p/r/q) as a control channel. Adds xr_utils module with stdin reader and camera removal that handles AIC observation naming. Only active when --teleop_device handtracking.
Collaborator
|
Thanks for the PR! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds OpenXR hand-tracking teleop support for the AIC environment for Isaac, alongside the existing keyboard, spacemouse, and gamepad devices.
What's included
XrCfgandOpenXRDeviceCfgwithSe3RelRetargeteradded to the environment configxr_utils.py— shared helpers for XR sessions (camera removal, robot base-frame alignment, stdin reader)teleop.pyandrecord_demos.py(only active when--teleop_device handtracking)Hacky bit — terminal hotkeys
Added a stdin reader thread that listens for single-key hotkeys (
s/p/r/q) when XR is active. It works, but it's not the cleanest solution — ideally the OpenXR device itself would emit these via controller buttons or hand gestures. Open to better approaches here.Setup
Requires
XR_RUNTIME_JSONenvironment variable pointing to your SteamVR runtime JSON before launching:export XR_RUNTIME_JSON=/home/user/.steam/debian-installation/steamapps/common/SteamVR/steamxr_linux64.jsonisaaclab -p aic/aic_utils/aic_isaac/aic_isaaclab/scripts/teleop.py \ --task AIC-Task-v0 --num_envs 1 --teleop_device handtrackingFigured this might be useful for anyone looking to do VR teleop data collection with the AIC environment.