SimMechanics Reference Frame Orientation
显示 更早的评论
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
2021-6-25
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!