Fix flex constraint Jacobian for edges belonging to a single body.
PiperOrigin-RevId: 575161094 Change-Id: If4153bcb751cdd6dbdddeb08672f7107c7c5bbc2
This commit is contained in:
committed by
Copybara-Service
parent
e4a9f535a4
commit
01a932e052
@@ -1311,7 +1311,7 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='mjtByte'),
|
||||
),
|
||||
doc='1: diagonal M; 2: diag M, no rotations (nbody x 1)',
|
||||
doc='1: diag M; 2: diag M, sliders only (nbody x 1)',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='body_sameframe',
|
||||
@@ -2426,6 +2426,13 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
),
|
||||
doc='are all verices in the same body (nflex x 1)',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='flexedge_rigid',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='mjtByte'),
|
||||
),
|
||||
doc='are both edge vertices in same body (nflexedge x 1)',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='flex_centered',
|
||||
type=PointerType(
|
||||
|
||||
Reference in New Issue
Block a user