Commit 614ea2d
Cherry-pick: Anymal-D rough terrain (subset) from isaac-sim#5225
Originally Octi's commit on PR isaac-sim#5225. Cherry-picked here so the rough
terrain stack does not depend on his still-open WIP PR while he is away.
Included from isaac-sim#5225:
- source/isaaclab_tasks/.../config/anymal_d/rough_env_cfg.py:
Anymal-D SimulationCfg-based RoughPhysicsCfg (MJWarp solver + collision
pipeline). The shared parent will hoist this in the next commit.
- source/isaaclab_tasks/.../velocity/velocity_env_cfg.py:
Hoist physics_material, add_base_mass, base_com startup events into
the shared EventsCfg. base_com guarded with preset(newton=None) per
ablation A4 (without the gate, 99.99% of episodes terminate from
body_lin_vel runaway on Newton). Upstream Newton fix
newton-physics/newton#2332 will let us drop
the gate once it ships in a release.
Dropped from isaac-sim#5225 (no longer needed):
- collider_offsets startup event in velocity_env_cfg.py: per ablation
A3 (clobbers shape margin via gap = max(0, contact_offset - margin) =
0, costing -3.71 reward on Anymal-D) and greptile P1 (PhysX-only
root_view methods, raises AttributeError on Newton without a guard).
- body_lin_vel_out_of_limit / body_ang_vel_out_of_limit terminations
and their __init__.pyi exports: were a NaN guard for the Newton
body_lin_vel runaway when base_com was unguarded. With the
preset(newton=None) gate on base_com, the runaway no longer occurs
and the guards are unused.
- terrain_generator.py subdivided flat-grid border: was a workaround
for Newton triangle-collision failures on the box-primitive border.
Newton has since improved triangle handling, so the workaround is no
longer needed.
Co-authored-by: Octi Zhang <zhengyuz@nvidia.com>1 parent fcfb8ac commit 614ea2d
2 files changed
Lines changed: 62 additions & 51 deletions
File tree
- source/isaaclab_tasks/isaaclab_tasks/manager_based/locomotion/velocity
- config/anymal_d
Lines changed: 21 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
35 | | - | |
| 42 | + | |
36 | 43 | | |
37 | 44 | | |
38 | 45 | | |
| |||
Lines changed: 41 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
161 | 161 | | |
162 | 162 | | |
163 | 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 | + | |
164 | 199 | | |
165 | 200 | | |
166 | 201 | | |
| |||
206 | 241 | | |
207 | 242 | | |
208 | 243 | | |
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 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
289 | 293 | | |
290 | 294 | | |
291 | 295 | | |
| |||
313 | 317 | | |
314 | 318 | | |
315 | 319 | | |
316 | | - | |
| 320 | + | |
317 | 321 | | |
318 | 322 | | |
319 | 323 | | |
| |||
0 commit comments