Skip to content

Commit

Permalink
Add missing key when generating random joint positions
Browse files Browse the repository at this point in the history
Co-authored-by: Filippo Luca Ferretti <[email protected]>
  • Loading branch information
diegoferigo and flferretti committed Feb 28, 2024
1 parent cd6d309 commit 5ad41dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jaxsim/api/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ def random_model_data(
).as_quaternion_xyzw()[np.array([3, 0, 1, 2])]

physics_model_state.joint_positions = jaxsim.api.joint.random_joint_positions(
model=model
model=model, key=k3
)

physics_model_state.base_linear_velocity = jax.random.uniform(
Expand Down

0 comments on commit 5ad41dd

Please sign in to comment.