Skip to content

Commit 227259e

Browse files
updated default contact model
1 parent c28e89a commit 227259e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jaxsim/api/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def build(
247247
The optional name of the model overriding the physics model name.
248248
contact_model:
249249
The contact model to consider.
250-
If not specified, a relaxed-constraints rigid contacts model is used.
250+
If not specified, a soft contact model is used.
251251
contact_params: The parameters of the contact model.
252252
actuation_params: The parameters of the actuation model.
253253
integrator: The integrator to use for the simulation.
@@ -282,7 +282,7 @@ def build(
282282
contact_model = (
283283
contact_model
284284
if contact_model is not None
285-
else jaxsim.rbda.contacts.RelaxedRigidContacts.build()
285+
else jaxsim.rbda.contacts.SoftContacts.build()
286286
)
287287

288288
if contact_params is None:

0 commit comments

Comments
 (0)