Skip to content

Commit

Permalink
Remove debug print statements from SpatialMath class
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRomualdi committed Jan 9, 2025
1 parent 89b6a0b commit 05d4afd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/adam/core/spatial_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ def Rz(self, q: npt.ArrayLike) -> npt.ArrayLike:
Returns:
npt.ArrayLike: rotation matrix around z axis
"""
print(q, q.shape)
return self._axis_angle_rotation("Z", q)

def H_revolute_joint(
Expand Down Expand Up @@ -363,7 +362,6 @@ def R_from_RPY(self, rpy: npt.ArrayLike) -> npt.ArrayLike:
if isinstance(rpy, list):
rpy = self.factory.array(rpy)

print(rpy)
return self.Rz(rpy[..., 2]) @ self.Ry(rpy[..., 1]) @ self.Rx(rpy[..., 0])

def X_revolute_joint(
Expand Down

0 comments on commit 05d4afd

Please sign in to comment.