From c69ad3b22c8502fdfd298b2310a20d23eb3be1a6 Mon Sep 17 00:00:00 2001 From: Filippo Luca Ferretti Date: Thu, 27 Feb 2025 10:41:29 +0100 Subject: [PATCH] Explicitly set `SoftContacts` in benchmarks --- tests/test_benchmark.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_benchmark.py b/tests/test_benchmark.py index cf6898f18..747eab2d3 100644 --- a/tests/test_benchmark.py +++ b/tests/test_benchmark.py @@ -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)