Skip to content

Commit

Permalink
[sq] js.data
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Sep 27, 2024
1 parent a9bb374 commit 986854e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/jaxsim/api/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,11 @@ def build(

if contacts_params is None:

if isinstance(model.contact_model, jaxsim.rbda.contacts.SoftContacts):
if isinstance(
model.contact_model,
jaxsim.rbda.contacts.SoftContacts
| jaxsim.rbda.contacts.ViscoElasticContacts,
):
contacts_params = js.contact.estimate_good_soft_contacts_parameters(
model=model, standard_gravity=standard_gravity
)
Expand Down

0 comments on commit 986854e

Please sign in to comment.