Skip to content

Commit

Permalink
follow adjoint matrix notation in modern robotics
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesxu0124 committed Jan 14, 2024
1 parent ad15b5c commit b46ec5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serl_robot_infra/franka_env/envs/relative_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def construct_adjoint_matrix(self, tcp_pose):
adjoint_matrix = np.zeros((6, 6))
adjoint_matrix[:3, :3] = rotation
adjoint_matrix[3:, 3:] = rotation
adjoint_matrix[:3, 3:] = skew_matrix @ rotation
adjoint_matrix[3:, :3] = skew_matrix @ rotation
return adjoint_matrix

def construct_homogeneous_matrix(self, tcp_pose):
Expand Down

0 comments on commit b46ec5d

Please sign in to comment.