sofa-framework / sofa

Real-time multi-physics simulation with an emphasis on medical simulation.
https://www.sofa-framework.org
GNU Lesser General Public License v2.1
934 stars 312 forks source link

Issue when creating an instrument with more than two sections #4833

Open hugtalbot opened 4 months ago

hugtalbot commented 4 months ago

Discussed in https://github.com/sofa-framework/sofa/discussions/4685

Originally posted by **scarponiv** April 26, 2024 Hello everyone, I am facing some issues when trying to create an instrument with more than two sections. In such a case, an erratic motion can be observed. To reproduce the issus, one may start from the basic example _3instruments.scn_ and modify it the following way: - I added a third section to the guidewire (I added line 37 to add a second straight section `` - modified line 36 to maintain the same total straight length and the same number of visual and collision edges `` - and added this section in line 40 ``. You can find here the complete modified scene: ```xml ``` I am using SOFA v23.12.0 and BeamAdapter v23.12. Is there any additional line I should modify in order to add the third section? @epernod , @hugtalbot do you have any idea? Thanks a lot for your help!
epernod commented 4 months ago

Hi, thank you for the report and the scene. I have tested on my side and I also have an... helicopter motion. I will work on it... hopefully this week, or next week.

++erik