Hello,
Could anyone please take a look to the example attached? It is a four bar linkage made in Simmechanics (Simscape Multibody). It is behaving really weird and I do not know exactly the reason.
I have been doing lately some matlab programming and the weirdest thingy is that this very mechanism, running under my code behaves exactly in the same way!!
It is a four bar mechanism sample slightly modified . One of the joints (Crank-Connector revolute joint) has a State Target Priority to define a specific initial position.
When simulated, the mechanism seems to find an attractor in one of the sides, and keeps oscillating around the position, which is actually supposed to be a repeller. There are not external forces applied (except the ones due to the gravitational field).
Can anyone please give me some insight about this issue? I think I am going bananas...
PS: The example is attached as a .zip file. Just need to click on the play button.
Many thanks,
Rodrigo