Skip to content

Conversation

@fredroy
Copy link
Contributor

@fredroy fredroy commented Sep 17, 2025

Based on

The "full deployment" 3instruments_collis.scn was like this:
NOCOAL_TriangleLineModel_0001

We can see that some collsion edges are missing.
The problem is that the topology built by the MultiAdaptiveBeamMapping does not contain enough DOFs for the submappings. It was simply using the tool with the most discretization, which is wrong.
So this PR fixes that by computing the worst case (all the tools are deployed fully)
NOCOAL_TriangleLineModel_0000

Note that it will induce more collision detection though (as there are more collision edges and points).
And the regressions will need to be re-generated 😿

@fredroy fredroy added pr: fix pr: status to review To notify reviewers to review this pull-request labels Sep 17, 2025
@hugtalbot hugtalbot added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Sep 25, 2025
@epernod epernod merged commit 56f61d9 into sofa-framework:master Sep 26, 2025
4 checks passed
@fredroy fredroy deleted the fix_multitool_collis_sampling branch January 6, 2026 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: fix pr: status ready Approved a pull-request, ready to be squashed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants