Skip to content

Commit b0ab094

Browse files
committed
clean code
1 parent 82e6a42 commit b0ab094

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/physics_simulator/robot/mujoco_robot.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ def __init__(self,
8484
self.set_world_pose(np.concatenate([translation, rotation]))
8585
else:
8686
raise ValueError("Invalid pose input")
87-
88-
# Store target positions for non-immediate joint control
89-
self.joint_position_targets = {}
90-
self.position_control_mode = {}
9187

9288
def initialize(self):
9389
"""Initialize the robot with MuJoCo model and data references.

src/physics_simulator/simulator/mujoco.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,8 @@ def _convert_config_paths_to_absolute(self, config):
433433
config.usd_path = self._convert_to_absolute_path(config.usd_path)
434434
if hasattr(config, "mjcf_path"):
435435
config.mjcf_path = self._convert_to_absolute_path(config.mjcf_path)
436+
if hasattr(config, "urdf_path"):
437+
config.urdf_path = self._convert_to_absolute_path(config.urdf_path)
436438
if hasattr(config, "obj_path"):
437439
config.obj_path = self._convert_to_absolute_path(config.obj_path)
438440
if hasattr(config, "srdf_path"):

0 commit comments

Comments
 (0)