Skip to content

Commit

Permalink
Remove unnecessary assertion for RigidContactsParams in step func…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
flferretti committed Jan 8, 2025
1 parent 33a8ee7 commit 30026d4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/jaxsim/api/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2295,9 +2295,6 @@ def step(
# Hence, here we need to reset the velocity after each impact to guarantee that
# the linear velocity of the active collidable points is zero.
case jaxsim.rbda.contacts.RigidContacts():
assert isinstance(
data_tf.contacts_params, jaxsim.rbda.contacts.RigidContactsParams
)

# Raise runtime error for not supported case in which Rigid contacts and
# Baumgarte stabilization are enabled and used with ForwardEuler integrator.
Expand Down

0 comments on commit 30026d4

Please sign in to comment.