Commit 6486b76
authored
Documents JointDrivePropertiesCfg.ensure_drives_exist (#5723)
# Description
Documents the `JointDrivePropertiesCfg.ensure_drives_exist` flag
introduced in #5251. Adds a troubleshooting entry and a how-to section
so users hitting *"my joints actuate in PhysX but do nothing in Newton
with `ImplicitActuatorCfg`"* can find the fix without having to read the
schemas source.
## Background
Newton's USD importer only materialises a solver actuator for a joint
when the authored `PhysicsDriveAPI` reports a non-zero stiffness or
damping. Many existing assets ship with both at `0`, expecting an
`ImplicitActuatorCfg` (or `IdealPDActuatorCfg`) to supply the gains at
runtime. PhysX creates the actuator regardless and lets the runtime
writes take effect; Newton drops the joint from the actuator set before
the runtime writes can attach.
`ensure_drives_exist=True` on the spawn config writes a minimal
placeholder stiffness (`1e-3`) to any drive whose authored stiffness
*and* damping are both zero, so Newton creates the actuator. The actual
gains still come from the actuator model at runtime.
## Changes
- `docs/source/refs/troubleshooting.rst` — new "Joints actuate in PhysX
but not in a Newton-based backend" section, slotted with the other
physics-stability entries. Includes symptom, cause, and a working code
snippet.
- `docs/source/how-to/import_new_asset.rst` — new "Ensuring joint drives
exist on every joint" section with the labelled anchor
`import-new-asset-ensure-drives-exist` so other pages can
cross-reference the full explanation. Sits between the MJCF importer and
Mesh importer sections since it applies to URDF- and MJCF-imported
assets but not to mesh assets.
- `docs/source/how-to/write_articulation_cfg.rst` — short
cross-reference admonition next to the `ImplicitActuatorCfg` example,
pointing readers to the anchor above.
- `source/isaaclab/changelog.d/antoiner-docs-ensure-drives-exist.skip` —
docs-only, no version bump.
## Type of change
- Documentation update
## Checklist
- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the `pre-commit` checks with `./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works (docs-only)
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file (`.skip` fragment, docs-only)
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there1 parent d2304a7 commit 6486b76
4 files changed
Lines changed: 116 additions & 0 deletions
File tree
- docs/source
- how-to
- refs
- source/isaaclab/changelog.d
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
346 | 401 | | |
347 | 402 | | |
348 | 403 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
119 | 128 | | |
120 | 129 | | |
121 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
110 | 161 | | |
111 | 162 | | |
112 | 163 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments