Skip to content

Commit c267aaf

Browse files
committed
Update code comments
1 parent 3ff0ce8 commit c267aaf

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

scripts/environments/teleoperation/teleop_se3_agent.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
#
44
# SPDX-License-Identifier: BSD-3-Clause
55

6-
"""Script to run a keyboard teleoperation with Isaac Lab manipulation environments."""
6+
"""Script to run teleoperation with Isaac Lab manipulation environments.
7+
8+
Supports multiple input devices (e.g., keyboard, spacemouse, gamepad) and devices
9+
configured within the environment (including OpenXR-based hand tracking or motion
10+
controllers)."""
711

812
"""Launch Isaac Sim Simulator first."""
913

@@ -13,7 +17,7 @@
1317
from isaaclab.app import AppLauncher
1418

1519
# add argparse arguments
16-
parser = argparse.ArgumentParser(description="Keyboard teleoperation for Isaac Lab environments.")
20+
parser = argparse.ArgumentParser(description="Teleoperation for Isaac Lab environments.")
1721
parser.add_argument("--num_envs", type=int, default=1, help="Number of environments to simulate.")
1822
parser.add_argument(
1923
"--teleop_device",
@@ -76,7 +80,7 @@
7680

7781
def main() -> None:
7882
"""
79-
Run keyboard teleoperation with Isaac Lab manipulation environment.
83+
Run teleoperation with an Isaac Lab manipulation environment.
8084
8185
Creates the environment, sets up teleoperation interfaces and callbacks,
8286
and runs the main simulation loop until the application is closed.

source/isaaclab/isaaclab/devices/device_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def __init__(self, retargeters: list[RetargeterBase] | None = None):
6565
self._required_features.update(retargeter.GetRequirments())
6666

6767
def __str__(self) -> str:
68-
"""Returns: A string containing the information of joystick."""
68+
"""Returns: A string identifier for the device."""
6969
return f"{self.__class__.__name__}"
7070

7171
"""

0 commit comments

Comments
 (0)