MATLAB Answers

0

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

Asked by Hirak Basumatary on 31 Jul 2018
Latest activity Answered by Steve Miller on 2 Apr 2019
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.

  0 Comments

Sign in to comment.

1 Answer

Answer by Steve Miller on 2 Apr 2019

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

  0 Comments

Sign in to comment.