Skip to content

Commit

Permalink
Merge pull request #157 from flferretti/fix/transform
Browse files Browse the repository at this point in the history
Fix method on `jaxsim.math.Transform`
  • Loading branch information
flferretti authored May 21, 2024
2 parents e282307 + 2457e73 commit 32e454a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jaxsim/math/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def from_rotation_and_translation(
assert A_R_B.shape == (3, 3)

A_H_B = jaxlie.SE3.from_rotation_and_translation(
rotation=A_R_B, translation=W_p_B
rotation=jaxlie.SO3.from_matrix(A_R_B), translation=W_p_B
)

return A_H_B.as_matrix() if not inverse else A_H_B.inverse().as_matrix()
Expand Down

0 comments on commit 32e454a

Please sign in to comment.