How to implement "Free-fall" using Multibody ?
32 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Fujihiro
le 26 Nov 2016
Modifié(e) : Walter Roberson
le 26 Jan 2020
Hi. I've trouble implementing simple "free-fall" using Multibody; a box falls under gravity.
However, A box never starts to fall...
The question is how should I add gravity to this box? (The blue plane is ground. )
Could anyone please give me a hand about this ?
0 commentaires
Réponse acceptée
Jose Lara
le 29 Nov 2016
Modifié(e) : Jose Lara
le 29 Nov 2016
Since you are using the Rigid Transforms, the bodies will be attached to their respective axis. A joint is required to specify movement between the bodies and the reference frames. In order to create implement free-fall, you can insert a 6-DOF Joint block or a Planar Joint block to define the box's movement in relation to the environment. Port B of the block will be connected to the frame from where the body will be released and Port F will be connected to the body that will fall.
Using the 6-DOF will be the easiest to implement. If you decide to use the Prismatic Joint block, the Rigid Transforms will have rotate the frame for gravity to act on the box since the block uses the X-Y plane of the base frame as its constraint. The image below shows how to implement the 6-DOF Joint block.
Check out the following link on more information on 6-DOF Joint block: http://www.mathworks.com/help/physmod/sm/ref/6dofjoint.html
Check out the following link on more information on Planar Joint block: http://www.mathworks.com/help/physmod/sm/ref/planarjoint.html
1 commentaire
Matheus Felipe Rodrigues de Oliveira
le 23 Jan 2020
Thank you very much you don't know how it helped me, I was used to the 2016b version thanks to your answer I understood how the new multibody system works.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Applications dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!