remove comments

This commit is contained in:
Martino Russi
2026-07-31 10:00:22 +02:00
parent a8ea5e6ea0
commit 89ac5b4408
2 changed files with 2 additions and 6 deletions
+1 -5
View File
@@ -23,9 +23,7 @@ import numpy as np
NUM_MOTORS = 29 NUM_MOTORS = 29
# Joint-order permutations between the two 29-DoF layouts used across the G1 stack: # Joint-order permutation between IsaacLab and Mujoco convention
# IsaacLab (policy/training order) and MuJoCo (deploy order). ``a[ISAACLAB_TO_MUJOCO]``
# reorders an IsaacLab-ordered vector into MuJoCo order, and vice-versa.
ISAACLAB_TO_MUJOCO = np.array( ISAACLAB_TO_MUJOCO = np.array(
[ [
0, 0,
@@ -60,8 +58,6 @@ ISAACLAB_TO_MUJOCO = np.array(
], ],
dtype=np.int32, dtype=np.int32,
) )
# The two orderings are inverses of each other, so derive one from the other (argsort) to
# guarantee they can never drift out of sync.
MUJOCO_TO_ISAACLAB = np.argsort(ISAACLAB_TO_MUJOCO).astype(np.int32) MUJOCO_TO_ISAACLAB = np.argsort(ISAACLAB_TO_MUJOCO).astype(np.int32)
REMOTE_AXES = ("remote.lx", "remote.ly", "remote.rx", "remote.ry") REMOTE_AXES = ("remote.lx", "remote.ly", "remote.rx", "remote.ry")
+1 -1
View File
@@ -147,7 +147,7 @@ class UnitreeG1(Robot):
self.arm_ik = G1_29_ArmIK() if config.gravity_compensation else None self.arm_ik = G1_29_ArmIK() if config.gravity_compensation else None
# Lower-body / whole-body controller loaded dynamically # Controller loaded dynamically
self.controller: LocomotionController | None = make_locomotion_controller(config.controller) self.controller: LocomotionController | None = make_locomotion_controller(config.controller)
# Controller thread state # Controller thread state
self._controller_thread = None self._controller_thread = None