Skip to content

Commit d94375e

Browse files
committed
Cleaning up teleop script
1 parent ebe57f1 commit d94375e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/environments/teleoperation/teleop_se3_agent.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,6 @@ def main() -> None:
9898
if args_cli.xr:
9999
env_cfg = remove_camera_configs(env_cfg)
100100
env_cfg.sim.render.antialiasing_mode = "DLSS"
101-
# Set flag for environment to know XR is enabled (if it supports it)
102-
if hasattr(env_cfg, "xr_enabled"):
103-
env_cfg.xr_enabled = True
104101

105102
try:
106103
# create environment
@@ -201,7 +198,7 @@ def stop_teleoperation() -> None:
201198
)
202199
else:
203200
omni.log.error(f"Unsupported teleop device: {args_cli.teleop_device}")
204-
omni.log.error("Supported devices: keyboard, spacemouse, gamepad, handtracking, motion_controllers")
201+
omni.log.error("Configure the teleop device in the environment config.")
205202
env.close()
206203
simulation_app.close()
207204
return

0 commit comments

Comments
 (0)