SimMechanics Reference Frame Orientation

1 回表示 (過去 30 日間)
Etienne Coetzee
Etienne Coetzee 2013 年 6 月 19 日
回答済み: Steve Miller 2021 年 6 月 25 日
Hi there. I am working through "How to build a model" example of the second generation SimMechanics examples, and cannot figure out how the Reference frame works. How is the orientation determined? I just cannot figure out how this is done. Where does it inherit the orientation from because it does not seem to be explicitly defined anywhere?

回答 (1 件)

Steve Miller
Steve Miller 2021 年 6 月 25 日
The orientation of a reference frame block will be relative to the frames it is attached to. If you attach it to the World Frame with a Rigid Transform with no offset in position or orientation, then it will be oriented and located at the same spot as the World Frame. If you connect it to the World Frame via a 6-DOF Joint, at the start of simulation it will likely be oriented as the World Frame, and if it is attached to an inertia that can move due to gravity (such as a pendulum), as the simulation evolves the orientation of the Reference Frame may change.
--Steve

カテゴリ

Help Center および File ExchangeAssembly についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by