SimMechanics Reference Frame Orientation
3 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Steve Miller
on 25 Jun 2021
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
0 Comments
See Also
Categories
Find more on Simscape Multibody in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!