How to use GeneralContact to simulate an arbitrary floor in contact with wheels #65
-
I have created this simulation: Mobile.robot.simulation.mp4Using
But now I would like to use an arbytrary floor, made out with custom shapes. To do so, I believe I need to use the mobile_robot_general_contact.mp4
The chassis has a mass of 1500 kg, If I increase the What parameters should I tune? Am I doing something wrong? In both cases I'm using |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
GeneralContact is not capable of using implicit solvers (GeneralizedAlpha, etc.) for contact of spheres with triangles. This is on the todo list. It only works with explicit solvers, thus being restricted to moderately stiff systems. |
Beta Was this translation helpful? Give feedback.
-
Thank you. Using the latest Exudyn code, I have been able to make the simulation work in certain cases with GeneralContact with an implicit solver (GeneralizedAlpha), with an arbitrary STL floor. However I'm having trouble when adding obstacles. In this simple example, the simulation keeps working after the disk makes contact with the obstacle , but with a lot of these :
(The reddish lines in the video come from the contact visualization settings) Exudyn.Opengl.Window.2024-06-29.20-01-57.mp4But in a more complex simulation, it doesn't get past that point: Exudyn.Opengl.Window.2024-06-29.20-17-11.mp4At that point the simulation crashes. With less pronounced discontinuities in the floor, like a sudden small ramp with an angle of 2 deg, I can get past that point increasing For the last simulation I'm using these parameters:
But at this point I'm just turning knobs without really knowing what to turn. Is there something I could improve? |
Beta Was this translation helpful? Give feedback.
-
The implicit solver is still not fully working. Thus, only the explicit solver will work, requiring that there are no constraints in the system. |
Beta Was this translation helpful? Give feedback.
-
Would the option of using ANCF cables for the ground with an implicit solver, constraints and |
Beta Was this translation helpful? Give feedback.
-
Using ANCF cables with Exudyn.Opengl.Window.2024-07-04.23-38-49.mp4 |
Beta Was this translation helpful? Give feedback.
In a 2D-case, you can use ACNF cables fixed to ground, with spheres rolling on them. This works with the implicit solver in this case.