Skip to content

Commit

Permalink
Reintroduce soft, viscoelastic and rigid contact models
Browse files Browse the repository at this point in the history
This reverts commit 9408f74.
  • Loading branch information
flferretti committed Jan 30, 2025
1 parent b0827b5 commit 7f0893f
Show file tree
Hide file tree
Showing 5 changed files with 2,077 additions and 6 deletions.
12 changes: 10 additions & 2 deletions src/jaxsim/rbda/contacts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
from . import relaxed_rigid
from . import relaxed_rigid, rigid, soft, visco_elastic
from .common import ContactModel, ContactsParams
from .relaxed_rigid import RelaxedRigidContacts, RelaxedRigidContactsParams
from .rigid import RigidContacts, RigidContactsParams
from .soft import SoftContacts, SoftContactsParams
from .visco_elastic import ViscoElasticContacts, ViscoElasticContactsParams

ContactParamsTypes = RelaxedRigidContactsParams
ContactParamsTypes = (
SoftContactsParams
| RigidContactsParams
| RelaxedRigidContactsParams
| ViscoElasticContactsParams
)
Loading

0 comments on commit 7f0893f

Please sign in to comment.