Add flex_bendingadr to mjModel.

PiperOrigin-RevId: 909088123
Change-Id: If062335d0aa3702c1e0b082dd9e29c3be0e76ea6
This commit is contained in:
Alessio Quaglino
2026-05-02 00:13:09 -07:00
committed by Copybara-Service
parent b2feed63e4
commit dbd451138c
10 changed files with 115 additions and 78 deletions
+3 -1
View File
@@ -186,6 +186,7 @@
X( nflexelem ) \
X( nflexelemdata ) \
X( nflexstiffness ) \
X( nflexbending ) \
X( nflexelemedge ) \
X( nflexshelldata ) \
X( nflexevpair ) \
@@ -467,6 +468,7 @@
X ( int, flex_elemdataadr, nflex, 1 ) \
X ( int, flex_stiffnessadr, nflex, 1 ) \
X ( int, flex_elemedgeadr, nflex, 1 ) \
X ( int, flex_bendingadr, nflex, 1 ) \
X ( int, flex_shellnum, nflex, 1 ) \
X ( int, flex_shelldataadr, nflex, 1 ) \
X ( int, flex_evpairadr, nflex, 1 ) \
@@ -495,7 +497,7 @@
X ( mjtNum, flex_radius, nflex, 1 ) \
X ( mjtNum, flex_size, nflex, 3 ) \
X ( mjtNum, flex_stiffness, nflexstiffness, 1 ) \
X ( mjtNum, flex_bending, nflexedge, 17 ) \
X ( mjtNum, flex_bending, nflexbending, 1 ) \
X ( mjtNum, flex_damping, nflex, 1 ) \
X ( mjtNum, flex_edgestiffness, nflex, 1 ) \
X ( mjtNum, flex_edgedamping, nflex, 1 ) \