Commit fce4ebd
committed
Bump Newton pin to v1.2.0rc1 and rename per-env labels in replication
The Newton 1.2 release includes the upstream tendon-scoping fix
(newton-physics/newton#2659), which scopes ``parse_usd``'s custom-
frequency walk to ``root_path`` natively. Bumping the Newton pin
removes the cross-source ``MjcTendon`` contamination IsaacLab
previously had to work around at the framework layer.
Pin bumps:
* ``source/isaaclab/setup.py``: ``warp-lang==1.12.0`` →
``>=1.13.0``, ``mujoco==3.6.0`` → ``==3.8.0``,
``mujoco-warp==3.6.0`` → ``==3.8.0.1``.
* ``source/isaaclab_newton/setup.py``: same mujoco / mujoco-warp
bumps; Newton pin → ``v1.2.0rc1``.
* ``source/isaaclab_visualizers/setup.py``: 3 × Newton pin →
``v1.2.0rc1``.
Code adapts:
* ``source/isaaclab_newton/isaaclab_newton/physics/newton_manager.py``
and ``source/isaaclab_ov/isaaclab_ov/renderers/ovrtx_renderer_kernels.py``:
``wp.math.transform_to_matrix`` → ``wp.transform_to_matrix``. The
``wp.math`` namespace was removed in ``warp-lang`` 1.13.
Per-env label rename:
* ``_rename_builder_labels`` now walks string-typed custom-attribute
columns whose frequency declares a ``references="world"``
companion (e.g. ``mujoco:tendon_label``), rewriting the per-row
source-path prefix to the destination world root. ``constraint_mimic``
joins the built-in label pass. The prefix match uses a path-separator
boundary so source paths that share a string prefix
(``/Sources/protoA`` vs ``/Sources/protoAB``) do not cross-
contaminate. Newton's ``add_builder`` copies labels verbatim and
tracks env identity in ``*_world`` int columns; the IL rename is
the structural translation between Newton's labeling model and
IL's per-env USD-path model. Both passes (built-in label arrays
and string custom-attribute columns) remain necessary after the
Newton bump.
Adds ``test_rename_builder_labels.py`` with 10 cases covering the
two passes, multi-source prefix-overlap regression, sparse env ids,
multi-frequency, multiple string columns at one frequency, and
empty-values pass-through.1 parent c0ae5ee commit fce4ebd
8 files changed
Lines changed: 368 additions & 21 deletions
File tree
- source
- isaaclab_newton
- changelog.d
- isaaclab_newton
- cloner
- physics
- test/cloner
- isaaclab_ov/isaaclab_ov/renderers
- isaaclab_visualizers
- isaaclab
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
Lines changed: 30 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 | + | |
Lines changed: 48 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
124 | 132 | | |
125 | 133 | | |
126 | 134 | | |
| |||
130 | 138 | | |
131 | 139 | | |
132 | 140 | | |
133 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
134 | 145 | | |
135 | 146 | | |
136 | 147 | | |
137 | 148 | | |
138 | 149 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 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 | + | |
148 | 186 | | |
149 | 187 | | |
150 | 188 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments