Commit e752af0
Horde
Fix startswith path bug; add USD->Newton and test cleanup
- Fix _scope_custom_frequencies: use root_path.rstrip("/")+"/": prefix
instead of bare startswith(root_path) to prevent sibling paths like
/robot_a_v2/tendon from falsely matching a filter scoped to /robot_a
- Add TestUsdTendonParsing: real in-memory USD stage with MjcTendon prim,
verifies stiffness authored in USD lands in proto builder (no Isaac Sim
required), and that plain builder without register_custom_attributes
picks up no tendon data
- Add test_filter_rejects_sibling_path_prefix_match covering the bug above
- Trim test suite from 24 to 12: remove Newton-API-only tests
(TestMainBuilderHasNoMjcFrequencies, TestProtoBuilderHasMjcFrequencies,
importable/instantiable import checks) and redundant coverage
(single_world, span_all_worlds, newton_filter, plain_builder,
both_frequencies_patched, noop_on_plain, heterogeneous_plan)1 parent 2bfb5b7 commit e752af0
2 files changed
Lines changed: 158 additions & 282 deletions
File tree
- source/isaaclab_newton
- isaaclab_newton/cloner
- test/cloner
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments