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 23, 2024
1 parent 1ae54bc commit ac1532c
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 ac1532c

Please sign in to comment.