Backport #2742 and #2745 to release 1.2#2798
Conversation
(cherry picked from commit cd98996)
Add a MuJoCo-only sliver vertex for planar mesh assets when Newton supplies contacts, so MuJoCo's convex-hull compile path has a full-dimensional mesh. Reject planar meshes when MuJoCo contact generation is requested because the temporary hull is not suitable for MuJoCo contacts. (cherry picked from commit cca630c)
Track template-world MuJoCo pair references during export so planar mesh assets are rejected when explicit pairs would make MuJoCo generate contacts against the synthetic hull. Add a regression for pair-only planar meshes. (cherry picked from commit e997de8)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
2f82d99
into
newton-physics:release-1.2
Description
Backport the fixes from:
This PR cherry-picks the relevant source commits onto
release-1.2without pulling main branch history into the release branch.Checklist
CHANGELOG.mdhas been updated (if user-facing change)Test plan
Bug fix
Steps to reproduce:
SolverMuJoCoon the release branch.Minimal reproduction:
See the regression tests added by the cherry-picked commits:
newton/tests/test_narrow_phase.pynewton/tests/test_solver_mujoco_planar_mesh.py