help with simscape multibody contact forces

i am trying to create a simulation of octapod each leg 4 DOF, but my body keep penetrating through the ground like the GIF file.I commented out all legs except to make it easy to work with but still no luck.
My Simulink setup is also provided as the PNG image in the comment.
Can someone please tell me how fix this and tell me what I'm doing wrong? there should be a contact point in the sphere by the end of the leg too. I'm using R2018a.
Here is the link to the library:

1 个评论

hey there..have you found the solution for this...I'm facing the same problem here..

请先登录,再进行评论。

回答(2 个)

I think it's matter of dimensions. with too small radius and plane tickness, the model does not work.
I found it..you should check the frame attached to PlaB port.
It states that the frame attached to PlaB should have its z-axis normal to plane....at least in my case this was the problem.
hope it helps !!

类别

帮助中心File Exchange 中查找有关 Simscape Multibody 的更多信息

产品

版本

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by