File tree Expand file tree Collapse file tree 2 files changed +1
-82
lines changed
scripts/environments/teleoperation
source/isaaclab_tasks/isaaclab_tasks/manager_based/locomanipulation/pick_place Expand file tree Collapse file tree 2 files changed +1
-82
lines changed Original file line number Diff line number Diff line change 4545 # not the one installed by Isaac Sim pinocchio is required by the Pink IK controllers and the
4646 # GR1T2 retargeter
4747 import pinocchio # noqa: F401
48- if "handtracking" in args_cli .teleop_device .lower () or "motion_controllers" in args_cli . teleop_device . lower () :
48+ if "handtracking" in args_cli .teleop_device .lower ():
4949 app_launcher_args ["xr" ] = True
5050
5151# launch omniverse app
@@ -96,8 +96,6 @@ def main() -> None:
9696 env_cfg .terminations .object_reached_goal = DoneTerm (func = mdp .object_reached_goal )
9797
9898 if args_cli .xr :
99- # External cameras are not supported with XR teleop
100- # Check for any camera configs and disable them
10199 env_cfg = remove_camera_configs (env_cfg )
102100 env_cfg .sim .render .antialiasing_mode = "DLSS"
103101 # Set flag for environment to know XR is enabled (if it supports it)
@@ -232,13 +230,6 @@ def stop_teleoperation() -> None:
232230 env .reset ()
233231 teleop_interface .reset ()
234232
235- if args_cli .xr :
236- # Configure environment based on teleop device type
237- if hasattr (env .unwrapped , "setup_for_teleop_device" ) and callable (
238- getattr (env .unwrapped , "setup_for_teleop_device" )
239- ):
240- env .unwrapped .setup_for_teleop_device (teleop_interface , args_cli ) # type: ignore[attr-defined]
241-
242233 print ("Teleoperation started. Press 'R' to reset the environment." )
243234
244235 # simulate environment
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments