Skip to content

Commit

Permalink
Explicitly set SoftContacts in benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Feb 27, 2025
1 parent b44e0d7 commit c69ad3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ def test_soft_contact_model(
):
model = jaxsim_model_ergocub_reduced

with model.editable(validate=False) as model:
model.contact_model = jaxsim.rbda.contacts.SoftContacts()

benchmark_test_function(js.ode.system_dynamics, model, benchmark, batch_size)


Expand Down

0 comments on commit c69ad3b

Please sign in to comment.