Commit 73ea431
authored
* docs(isaac): backend reference + Phase 1 status banner (5/5 of #31 split)
Part 5 / 5 of the split of #31 — tracked by #42. Branched off PR-1
(`pr1/isaac-foundation` -> #44); rebases cleanly onto `main` once
PR-1 merges. Parallel-mergeable with PR-4 (#47, simulation) -- this
slice has no code dependency on simulation.py.
Adds the user-facing reference doc for the Isaac backend plus the
companion test file that pins R2's "Phase 1 status" disclosure
banner:
- `docs/backends/isaac.md` (208 LOC):
Install + Quick Start + API reference + environment variables
+ R2's Phase 1 status banner before the Installation section.
The banner discloses that the Phase 1 skeleton silently no-ops
the data plane (`add_robot` procedural branch, `_load_usd_robot`,
`_load_urdf_robot`, `add_object`, `add_camera`, `replicate` all
return `status: "success"` without instantiating the underlying
USD prim or articulation handle, with the observable downstream
effect that `get_observation()` returns `{}` and `render()`
returns blank frames). R2 reviewer asked for this explicitly so
a user following the Quick Start sees the disclaimer before the
silent path.
- `strands_robots_sim/isaac/tests/test_phase1_doc_banner.py`
(~75 LOC, 3 tests):
Carved out of cagataycali's original
`test_phase1_doc_honesty.py` -- the `TestIsaacDocsPhase1Banner`
class only. The companion `TestG1DOFCount` class lives in PR-3
(#46) alongside `procedural.py`. Pin tests:
- `test_isaac_docs_file_exists`: truth-source pin for the doc
file's location.
- `test_phase1_banner_present_before_installation`: pins that
"Phase 1 status" appears AND precedes the `## Installation`
heading.
- `test_phase1_banner_names_the_silent_methods`: pins that the
banner enumerates `add_robot`, `replicate`, `get_observation`
by name (so a future maintainer who reads only the banner
knows which API surfaces are affected).
CI signal: lint clean (black / isort / flake8); the 3 doc-banner
pin tests pass standalone (`pytest test_phase1_doc_banner.py -v` ->
3 passed).
Why split `test_phase1_doc_honesty.py` into G1-DOF (PR-3) + doc-
banner (this PR): keeps each parallel-mergeable slice CI-green
standalone. Shipping the original combined file in either PR would
couple them (PR-3 would CI-red until PR-5 lands, or vice versa).
The combined coverage equals the original file.
Original work by @cagataycali in #31 (`413ff15..85e180f`); this
slice cherry-picks `docs/backends/isaac.md` plus the carved-out
banner test file. R2's banner addition (commit `85e180f`) is
already baked into this doc.
* docs(isaac): align with PR #47 + PR #51 merged to main
Updates docs/backends/isaac.md to reflect the actual state of
strands_robots_sim.isaac after PR #44 / #45 / #46 / #47 / #51 all
landed. The Phase 1 status banner had become stale (claimed all data-
plane methods were silent no-op when in fact the procedural builders
work, the loaders module ships, and several SimEngine methods now
have concrete implementations).
Three substantive changes:
1. Phase 1 status banner — split into 'Working today' (config,
is_available, lifecycle, procedural builders, loaders module) vs
'Still no-op' (add_object, add_camera, replicate, the per-class
_load_usd_robot / _load_urdf_robot stubs, articulation-touching
paths under get_observation / send_action / render). The loaders
module is the working URDF / MJCF / USD ingestion path today; the
IsaacSimulation private no-op stubs remain Phase 2 work.
2. New 'Loading External Description Files (URDF / MJCF / USD)'
section between Procedural Robots and Comparison with Newton.
Documents the loaders module (PR #51): three load_*() functions
producing ProceduralRobot dataclass instances, shared failure
semantics (FileNotFoundError / ValueError, never silent phantom
robot), and the parity-test pin against the seven robosuite-
bundled MJCFs the strands-robots LIBERO adapter consumes.
3. Procedural Robots — added the G1 intermediate-link-bodies
explanation and the fail-first kinematic-tree guard contract
(PR #51's commit). No env-var escape hatch.
Plus housekeeping in the Architecture file-list and Testing section:
- Architecture: added _install.py (PR #47's commit —
centralised install hints), loaders.py (PR #51), and the actual
test files now in main (test_get_observation_diagnostic_logs.py,
test_procedural_g1_dof.py, test_procedural_kinematic_guard.py,
test_loaders.py) instead of the placeholder list.
- Testing: pytest invocations updated to cover the five no-GPU test
files now shipped, plus a one-liner for running them all at once
(the --ignore pattern that the hatch script uses).
The doc was already accurate about the *direction* of Phase 1 vs
Phase 2; the update just brings the surface lists in line with what
actually shipped.
Verification:
- pytest strands_robots_sim/isaac/tests/test_phase1_doc_banner.py
→ 3 passed (the banner-content pin still matches; the rewrite
keeps 'Phase 1 status' + the same enumerated method names).
- diff stat: docs/backends/isaac.md, +51 / -7 LOC.
This change lands inside PR #48 (5/5 of #31 split) since it's the
canonical home for docs/backends/isaac.md updates. Top-level README
and examples/MIGRATION.md drift (Stage-3-no-longer-future framing)
is a separate doc-alignment concern and lands in a follow-up PR
rather than widening this slice.
1 parent 06fce4d commit 73ea431
2 files changed
Lines changed: 332 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 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 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
0 commit comments