-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Pin Newton to v1.4.0 and override the Isaac Sim MuJoCo pins #6584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| Changed | ||
| ^^^^^^^ | ||
|
|
||
| * Changed the pinned Newton version to the v1.4.0 release (from a pre-1.4 | ||
| development commit), adopting the MuJoCo 3.10 stack and the new margin/gap | ||
| semantics. Assets that author PhysX ``contactOffset`` / ``restOffset`` | ||
| attributes keep their behavior through Newton's schema translation | ||
| (``margin == restOffset``, ``gap == contactOffset - restOffset``). | ||
|
|
||
| Fixed | ||
| ^^^^^ | ||
|
|
||
| * Fixed custom-frequency USD traversal honoring ``ignore_paths`` via the | ||
| upstream Newton fix included in v1.4.0. |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -199,6 +199,12 @@ def test_contact_lifecycle(device: str, use_mujoco_contacts: bool, shape_type: S | |||||||||||||||||||||
| @pytest.mark.parametrize("use_mujoco_contacts", COLLISION_PIPELINES) | ||||||||||||||||||||||
| @pytest.mark.parametrize("shape_type", STABLE_SHAPES, ids=[shape_type_to_str(s) for s in STABLE_SHAPES]) | ||||||||||||||||||||||
| def test_horizontal_collision_detects_contact(device: str, use_mujoco_contacts: bool, shape_type: ShapeType): | ||||||||||||||||||||||
| if use_mujoco_contacts and shape_type == ShapeType.MESH_CAPSULE: | ||||||||||||||||||||||
| pytest.xfail( | ||||||||||||||||||||||
| "Newton >= 1.4 (mujoco-warp 3.10 margin/gap semantics) loses mesh-mesh collision response in the" | ||||||||||||||||||||||
| " MuJoCo contacts pipeline: objects tunnel with zero contact forces." | ||||||||||||||||||||||
| " Tracked upstream: https://github.com/newton-physics/newton/issues/3559" | ||||||||||||||||||||||
| ) | ||||||||||||||||||||||
| """Test horizontal collision detection with varied velocities and separations. | ||||||||||||||||||||||
|
Comment on lines
201
to
208
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| 8 environments (2 groups x 4 envs) with different collision speeds. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description characterises the regression as "mesh-mesh shape pairs in the MuJoCo contacts pipeline lose collision response entirely," yet the guard only covers
MESH_CAPSULE.STABLE_SHAPESalso includesMESH_SPHERE,MESH_BOX, andMESH_CYLINDER. Becausetest_horizontal_collision_detects_contactruns the sameshape_typefor both objects, those combinations are also mesh-mesh collisions and are likely affected. If any of them fail under the new MuJoCo 3.10 stack they will produce an unguarded hard failure in CI rather than an expected-failure, which would block merges unrelated to this pin. Consider broadening the condition touse_mujoco_contacts and is_mesh_shape(shape_type)(the helper is already imported) and re-evaluating once the upstream fix in newton#3559 lands.