Simscape Multibody: Rigid Transform changes System Output

1 view (last 30 days)
I'm using the extrude function to extrude a solid in Simscape Multibody which is connected to a prismatic joint. The equilibrium position is calculated, so that the solid doesn't move in the beginning. Since the extrusion is in z-axis but I want the extrusion in y-axis, I first perform the extrusion and then use a rigid transform block rotating +X, 90deg. However, when I use the rigid transformation the solid moves. When I don't use it, it doesn't. I attatched a simple example of the model. Just run it and check the scope.
Any ideas what happend and why the solid moves when using the rigid transformation?
Thanks!

Answers (1)

Steve Miller
Steve Miller on 16 Jun 2021
Hi Jan,
I see what you see on the Scope. One solid appears to be moving sinusoidally and the other not at all. However, if you look at the y-axis on the Scope, you will see that the amplitude of the movement is 1e-16 meters. This is not moving at all as the magnitude is essentially as close to zero as the computer can represent.
--Steve

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!