How to change the distance between two bodies in simulink multibody

6 vues (au cours des 30 derniers jours)
Lindrit Hasani
Lindrit Hasani le 17 Mar 2022
Hey,
i want to do a simulation with simulink multibody but i need to change the distance between two bodies (which consist multiple other bodies).
I've found that i can use the distance constraint but then my one body will rotate around the other body. Is there any possibility to stop that rotating or is there a another option to change distance between two bodies.
Thanks
liqu

Réponses (1)

Steve Miller
Steve Miller le 8 Avr 2022
Hi - if you connect a Prismatic Joint between the two bodies and set it up for prescribed motion (Force: Automatically Computed; Motion: Provide by Input), you can have your two bodies remain a specified distance apart.
--Steve

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by