Skip to content

Commit 4c68910

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b23f823 commit 4c68910

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lerobot/common/model/kinematics.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ def forward_kinematics(self, robot_pos_deg):
7676
# Get the transformation matrix
7777
return self.robot.get_T_world_frame(self.target_frame_name)
7878

79-
def inverse_kinematics(self, current_joint_pos, desired_ee_pose, position_weight=1.0, orientation_weight=0.01):
79+
def inverse_kinematics(
80+
self, current_joint_pos, desired_ee_pose, position_weight=1.0, orientation_weight=0.01
81+
):
8082
"""
8183
Compute inverse kinematics using placo solver.
8284

0 commit comments

Comments
 (0)