Skip to content

Commit

Permalink
Avoid unnecessary jax.vmap in rbda.forward_kinematics
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Nov 19, 2024
1 parent 61da5ef commit 831f58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jaxsim/rbda/forward_kinematics.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def propagate_kinematics(
else [(W_X_i,), None]
)

return jax.vmap(Adjoint.to_transform)(W_X_i)
return Adjoint.to_transform(W_X_i)


def forward_kinematics(
Expand Down

0 comments on commit 831f58a

Please sign in to comment.