Skip to content

Commit

Permalink
Update variable names in ode.system_acceleration
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro Croci <[email protected]>
  • Loading branch information
flferretti and xela-95 committed Sep 13, 2024
1 parent d6b0281 commit 3c75735
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/jaxsim/api/ode.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,15 +270,15 @@ def system_acceleration(
)

# - Joint accelerations: s̈ ∈ ℝⁿ
# - Base acceleration: W_v̇_WB = (W_p̈_B, W_ω̇_B) ∈ ℝ⁶
W_v̇_WB, = js.model.forward_dynamics_aba(
# - Base acceleration: O_v̇_WB = (O_p̈_B, O_ω̇_B) ∈ ℝ⁶
O_v̇_WB, = js.model.forward_dynamics_aba(
model=model,
data=data,
joint_forces=references.joint_force_references(model=model),
link_forces=references.link_forces(model=model, data=data),
)

return W_v̇_WB,
return O_v̇_WB,


@jax.jit
Expand Down

0 comments on commit 3c75735

Please sign in to comment.