Simscape Multibody: Rigid Transform changes System Output

3 次查看(过去 30 天)
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!

回答(1 个)

Steve Miller
Steve Miller 2021-6-16
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

类别

Help CenterFile Exchange 中查找有关 Applications 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by