Skip to content

Commit

Permalink
remove comment leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlottaSartore committed Apr 30, 2024
1 parent 6090ad0 commit 5e1463e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/comodo/inverseKinematics/inverseKinematics.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,7 @@ def pose_to_matrix(self, position, quaternion):
Returns:
- transformation_matrix (numpy array): 4x4 transformation matrix
"""

# Normalize quaternion to ensure it's a unit quaternion
# quaternion = quaternion / np.linalg.norm(quaternion)


# Create a 3x3 rotation matrix from the quaternion
rotation_matrix = Rotation.from_quat(quaternion.coeffs()).as_matrix()

Expand Down

0 comments on commit 5e1463e

Please sign in to comment.