Skip to content

Commit dbd89fe

Browse files
committed
format: pyformat
1 parent 953051e commit dbd89fe

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/rcs_taxim/examples/grasp_digit_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_object_pose(self, geom_name: str) -> Pose:
3636
geom_id = mujoco.mj_name2id(model, mujoco.mjtObj.mjOBJ_GEOM, geom_name)
3737
obj_pose_world_coordinates = Pose(
3838
translation=data.geom_xpos[geom_id], rotation=data.geom_xmat[geom_id].reshape(3, 3)
39-
) * Pose(rpy_vector=np.array([0, 0, -np.pi/4]), translation=np.array([0.0, 0.0, 0.0]))
39+
) * Pose(rpy_vector=np.array([0, 0, -np.pi / 4]), translation=np.array([0.0, 0.0, 0.0]))
4040
return self._robot.to_pose_in_robot_coordinates(obj_pose_world_coordinates)
4141

4242
def generate_waypoints(self, start_pose: Pose, end_pose: Pose, num_waypoints: int) -> list[Pose]:

python/rcs/sim/composer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,4 +330,4 @@ def _apply_gravcomp(self):
330330

331331
for joint in self.spec.joints:
332332
if joint.name and any(joint.name.startswith(prefix) for prefix in self._gravcomp_prefixes):
333-
joint.actgravcomp = True
333+
joint.actgravcomp = True

0 commit comments

Comments
 (0)