Fix Kamino contact capacity allocation - #403
Closed
rubengrandia wants to merge 83 commits into
Closed
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
…s#3455) Co-authored-by: camevor <camevor@nvidia.com>
Signed-off-by: Alain Denzler <adenzler@nvidia.com>
Signed-off-by: Alain Denzler <adenzler@nvidia.com>
…sics#3488) Co-authored-by: linyaodong <yaodong.lin@lightwheel.ai> Co-authored-by: Dylan Turpin <dturpin@nvidia.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…ics#3122) Signed-off-by: JC <jumyungc@nvidia.com> Signed-off-by: JC Chang <jumyungc@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Milad Rakhsha <mrakhsha@nvidia.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…3610) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Milad Rakhsha <mrakhsha@nvidia.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: JC Chang <jumyungc@nvidia.com>
…nd filter template (newton-physics#3656)
… when approximating (newton-physics#3712) Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Eric Heiden <eric-heiden@users.noreply.github.com>
…s#3711) Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Dex Smither <dsmither@nvidia.com>
…import (newton-physics#3654) Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Viktor Reutskyy <vreutskyy@nvidia.com>
…ysics#3580) Co-authored-by: Eric Heiden <eric-heiden@outlook.com>
…-physics#3728) Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes several Kamino contact-capacity bugs uncovered during the investigation of #323. Also touches warning behavior discussed in #115.
Changes
max_contacts_for_shape_pair()now returns meaningful estimates for canonical(PLANE, X)pairs instead of(0, 0). A bug in the implementation missed the values we had assigned to those pairs.use_collision_detector=False):SolverKaminonow sizesContactsKaminofrom the NewtonCollisionPipelineestimate whenmodel.rigid_contact_max == 0, making allocation order-independent with the pipeline. This also removes the warnings that resulted from initializing Kamino before the contact pipeline.rigid_contact_max) so a saturated world cannot prevent later worlds from filling their per-world caps. This was a subtle bug that only happens when the external contact capacity is higher than the internal one.CollisionDetectorcapacity resolver: replace equal model-total split with per-world geometry/pair-based budgets, proportional capping viamax_contacts, and explicitmax_contacts_per_worldoverride.max_contactscaps (not floors) the geometry estimate; soften conversion overflow warnings and restrict Kamino→Newton export warnings to only happen when Kamino's internal detector is used.Checklist
CHANGELOG.mdhas been updated (if user-facing change)