@@ -977,15 +977,16 @@ class WarmstarterContacts:
977977 This class supports multiple warm-starting strategies, selectable via the `Method` enum:
978978 - `KEY_AND_POSITION`:
979979 Warm-starts contacts by matching geom-pair keys and contact-point positions.
980- - `KEY_AND_POSITION_WITH_TANGENT_NET_FORCE`:
981- Warm-starts matched normal reactions and balances tangential force per geom-pair.
980+ - `KEY_AND_POSITION_WITH_TANGENTIAL_NET_FORCE`:
981+ Warm-starts contacts by matching geom-pair keys and contact-point positions,
982+ while distributing the cached net tangential force uniformly across the geom-pair.
982983 - `GEOM_PAIR_NET_FORCE`:
983984 Warm-starts contacts using the net body-CoM contact force per geom-pair.
984985 - `GEOM_PAIR_NET_WRENCH`:
985986 Warm-starts contacts using the net body-CoM contact wrench per geom-pair.
986987 - `KEY_AND_POSITION_WITH_NET_FORCE_BACKUP`:
987988 Warm-starts contacts by matching geom-pair keys and contact-point positions,
988- - with a backup strategy using the net body-CoM contact force per geom-pair.
989+ with a backup strategy using the net body-CoM contact force per geom-pair.
989990 - `KEY_AND_POSITION_WITH_NET_WRENCH_BACKUP`:
990991 Warm-starts contacts by matching geom-pair keys and contact-point positions,
991992 with a backup strategy using the net body-CoM contact wrench per geom-pair.
@@ -1020,10 +1021,10 @@ class Method(IntEnum):
10201021 with a backup strategy using the net body-CoM contact wrench per geom-pair.
10211022 """
10221023
1023- KEY_AND_POSITION_WITH_TANGENT_NET_FORCE = 5
1024+ KEY_AND_POSITION_WITH_TANGENTIAL_NET_FORCE = 5
10241025 """
1025- Warm-start matched normal reactions and distribute the pair's net
1026- tangential force uniformly across its cached contact count .
1026+ Warm-start contacts by matching geom-pair keys and contact-point positions,
1027+ while distributing the cached net tangential force uniformly across the geom-pair .
10271028 """
10281029
10291030 @classmethod
@@ -1147,7 +1148,7 @@ def warmstart(self, model: ModelKamino, data: DataKamino, contacts: ContactsKami
11471148 pair_contact_counts = self ._pair_contact_counts ,
11481149 )
11491150
1150- case WarmstarterContacts .Method .KEY_AND_POSITION_WITH_TANGENT_NET_FORCE :
1151+ case WarmstarterContacts .Method .KEY_AND_POSITION_WITH_TANGENTIAL_NET_FORCE :
11511152 warmstart_contacts_by_matched_geom_pair_key_and_position (
11521153 model = model ,
11531154 data = data ,
@@ -1197,7 +1198,7 @@ def warmstart(self, model: ModelKamino, data: DataKamino, contacts: ContactsKami
11971198 " - GEOM_PAIR_NET_WRENCH (2),"
11981199 " - KEY_AND_POSITION_WITH_NET_FORCE_BACKUP (3),"
11991200 " - KEY_AND_POSITION_WITH_NET_WRENCH_BACKUP (4),"
1200- " - KEY_AND_POSITION_WITH_TANGENT_NET_FORCE (5)."
1201+ " - KEY_AND_POSITION_WITH_TANGENTIAL_NET_FORCE (5)."
12011202 )
12021203
12031204 def update (self , contacts : ContactsKamino | None = None ):
0 commit comments