Skip to content

Commit

Permalink
Put list into an array
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulero authored Jan 31, 2024
1 parent 919576d commit 02a04bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adam/core/spatial_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def H_prismatic_joint(
T = self.factory.eye(4)
R = self.R_from_RPY(rpy)
T[:3, :3] = R
T[:3, 3] = xyz + q * self.factory.array(axis)
T[:3, 3] = self.factory.array(xyz) + q * self.factory.array(axis)
return T

def H_from_Pos_RPY(self, xyz: npt.ArrayLike, rpy: npt.ArrayLike) -> npt.ArrayLike:
Expand Down

0 comments on commit 02a04bb

Please sign in to comment.