How to change orientation of the frames in a simscape multibody model?

조회 수: 33 (최근 30일)
Hirak Basumatary
Hirak Basumatary 2018년 7월 31일
답변: Steve Miller 2019년 4월 2일
Hi , i am stuck in trying to change the orientation of the frames in simscape multibody. I am trying to specify motion to the joints in a constrained way for which i need the orientation of the frames of the follower and the base at the joints to be same. How should i proceed in achieving the task ? Any suggestions would be helpful . Thank You.

답변 (1개)

Steve Miller
Steve Miller 2019년 4월 2일
Hi - if you add a Rigid Transform block to a line, you can create a new frame that is translated and/or rotated relative to your existing frames. Typically, you would connect the B port to the starting frame, set parameters to define the rotational and translational transformations you wish to apply to the existing frame, and the new frame that lines up with what you need will be available at the F port of the Rigid Transform block.
If you look at the shipping examples, these blocks are used in nearly every example. Run >>sm_four_bar, go into the Mechanics Explorer, and click on one of the Rigid Transform entries in the tree view on the left hand side. You will see the 'B' and 'F' frames highlighed in the 3D view. If you compare those to the transformation defined in the Rigid Transform block, you will see how to use that block.
Thanks,
--Steve

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by