How to implement "Free-fall" using Multibody ?

16 次查看(过去 30 天)
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 ?

采纳的回答

Jose Lara
Jose Lara 2016-11-29
编辑:Jose Lara 2016-11-29
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 个评论
Matheus Felipe Rodrigues de Oliveira
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Applications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by