Skip to content

[src] Use a force-based constraint resolution and integration framework for needle insertion - #121

Open
th-skam wants to merge 27 commits into
masterfrom
fix_pure_force
Open

th-skam wants to merge 27 commits into
masterfrom
fix_pure_force

Conversation

@th-skam

@th-skam th-skam commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

All scenes have been adjusted to the new integration schemes of SOFA.
The InsertionAlgorithm has been equipped with a check to determine whether the integration schemes employ an impulse- or force-based approach.

Our current setups are incompatible with the force-based approach because we use 1st order schemes for the needle and 2nd order schemes for the tissues. When this is done, the compliance matrices generated in these nodes are expressed in different units, so the old behaviour cannot be recovered.

So in this PR I switched to 2nd order schemes for the needle. It's still experimental as this makes the needle mass have a bigger impact in the scene. However, the scenes are stable.
I took the opportunity to put more natural physical parameters for the tissues and needle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants