|
149 | 149 | Shape is ``[N, D, 3]``, dtype ``float32``. |
150 | 150 | """ |
151 | 151 |
|
| 152 | +DOF_DRIVE_TYPE = _TT.ARTICULATION_DOF_DRIVE_TYPE |
| 153 | +"""DOF drive type (0 = none, 1 = force, 2 = acceleration). |
| 154 | +
|
| 155 | +Shape is ``[N, D]``, dtype ``uint8``. Read-only. |
| 156 | +""" |
| 157 | + |
| 158 | +DOF_DRIVE_MODEL = _TT.ARTICULATION_DOF_DRIVE_MODEL |
| 159 | +"""DOF performance-envelope drive model (speed-effort gradient, maximum actuator |
| 160 | +velocity, velocity-dependent resistance). |
| 161 | +
|
| 162 | +Shape is ``[N, D, 3]``, dtype ``float32``. |
| 163 | +""" |
| 164 | + |
152 | 165 | """ |
153 | 166 | External wrench (GPU, write-only) |
154 | 167 | """ |
|
193 | 206 | Shape is ``[N, L, 9]``, dtype ``float32``. |
194 | 207 | """ |
195 | 208 |
|
| 209 | +BODY_DISABLE_GRAVITY = _TT.ARTICULATION_BODY_DISABLE_GRAVITY |
| 210 | +"""Per-link gravity disable flag (nonzero disables gravity for that link). |
| 211 | +
|
| 212 | +Shape is ``[N, L]``, dtype ``uint8``. |
| 213 | +""" |
| 214 | + |
| 215 | +CONTACT_OFFSET = _TT.ARTICULATION_CONTACT_OFFSET |
| 216 | +"""Contact offset of each collision shape. |
| 217 | +
|
| 218 | +Shape is ``[N, S]``, dtype ``float32`` [m]. |
| 219 | +""" |
| 220 | + |
| 221 | +REST_OFFSET = _TT.ARTICULATION_REST_OFFSET |
| 222 | +"""Rest offset of each collision shape. |
| 223 | +
|
| 224 | +Shape is ``[N, S]``, dtype ``float32`` [m]. |
| 225 | +""" |
| 226 | + |
196 | 227 | """ |
197 | 228 | Rigid-body TensorTypes |
198 | 229 |
|
|
225 | 256 | ``(N, 9)``, row-major flatten of the 3×3 inertia matrix |
226 | 257 | ``(Ixx, Ixy, Ixz, Iyx, Iyy, Iyz, Izx, Izy, Izz)`` [kg·m²].""" |
227 | 258 |
|
| 259 | +RIGID_BODY_DISABLE_GRAVITY = _TT.RIGID_BODY_DISABLE_GRAVITY |
| 260 | +"""Gravity disable flag — read/write, CPU. Shape ``(N,)``, dtype ``uint8``; |
| 261 | +nonzero disables gravity for that actor.""" |
| 262 | + |
| 263 | +RIGID_BODY_CONTACT_OFFSET = _TT.RIGID_BODY_CONTACT_OFFSET |
| 264 | +"""Contact offset of each collision shape — read/write, CPU. Shape ``(N, S)`` [m].""" |
| 265 | + |
| 266 | +RIGID_BODY_REST_OFFSET = _TT.RIGID_BODY_REST_OFFSET |
| 267 | +"""Rest offset of each collision shape — read/write, CPU. Shape ``(N, S)`` [m].""" |
| 268 | + |
228 | 269 | # These three aliases are pending an upcoming ovphysx wheel update. |
229 | 270 | # When the wheel ships them, the corresponding ``hasattr`` checks below |
230 | 271 | # in IsaacLab consumers will start returning True and the bindings will |
|
433 | 474 | DOF_MAX_FORCE, |
434 | 475 | DOF_ARMATURE, |
435 | 476 | DOF_FRICTION_PROPERTIES, |
| 477 | + DOF_DRIVE_TYPE, |
| 478 | + DOF_DRIVE_MODEL, |
436 | 479 | BODY_MASS, |
437 | 480 | BODY_COM_POSE, |
438 | 481 | BODY_INERTIA, |
439 | 482 | BODY_INV_MASS, |
440 | 483 | BODY_INV_INERTIA, |
| 484 | + BODY_DISABLE_GRAVITY, |
| 485 | + CONTACT_OFFSET, |
| 486 | + REST_OFFSET, |
441 | 487 | # Rigid-body CPU-only entries (always available) |
442 | 488 | RIGID_BODY_MASS, |
443 | 489 | RIGID_BODY_COM_POSE, |
444 | 490 | RIGID_BODY_INERTIA, |
| 491 | + RIGID_BODY_DISABLE_GRAVITY, |
| 492 | + RIGID_BODY_CONTACT_OFFSET, |
| 493 | + RIGID_BODY_REST_OFFSET, |
445 | 494 | DEFORMABLE_MATERIAL_DYNAMIC_FRICTION, |
446 | 495 | DEFORMABLE_MATERIAL_YOUNGS_MODULUS, |
447 | 496 | DEFORMABLE_MATERIAL_POISSONS_RATIO, |
|
0 commit comments