shouldn't the reference frame replace the frames of the subsystem

Hi I am building a robot arm simulation
and I built every joint out of cylinders then made it a subsystem.
the frames is not where they should be so I am added a reference frame to the subsystem
but when I Specify Position in the State Targets in the Z Reveloute Primitive (Rz) it still use one the 2 solids' frames and this is what I end up getting.
bold where its obviously rotating around the axis shown in the picture (above) which is one of the solids' Axis (solid 9) and not the reference frame . can someone tell me what am I doing wrong??? Thank you very much

Answers (1)

Since the Reference Frame is attached to Solid 8 not the World Coordinate, the rotating axis will be one of the Solids 8's references frame.

Categories

Find more on Simscape Multibody in Help Center and File Exchange

Asked:

on 10 Oct 2017

Answered:

on 17 Oct 2017

Community Treasure Hunt

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

Start Hunting!