Flexion with Bergmann Model

I finally managed to upload the model,

My problem is that shoulder flexion does not work due to any constraint violation

It will be great if you find the error.

cheers,
Marc

Hi Marc,
This model was made more than 5 years ago and not updated to the latest state of the art, so the drivers might not be very easy to understand.
What is your final goal? Only flexion? From 0 to 90 degrees? And back to 0 again?

hi aalmunajjed,

thanks for your reply

yes I only want it to do a simple flexion 0°-90°-0° with the same profile the abduction is done

Marc,
the problem was a driver that keeps the hand in the frontal plane

// Keep the hand in the frontal plane

I attached a running model.

Thank you very much Amir!

The Model works perfect for 45°, but for flexion to 90° the Warning:

WARNING(OBJ.MCH.KIN6): "(Path)"Interface.any(82): GHMeasure: Close to singular position: Orientation close o Gimbal Lock, i.e. first and third axis of rotation being parallel

occurs

the inverse dynamics work, so are the results correct with respect to this warning?
is there a simple change to fix that?

cheers, Marc

the results are not affected by that warning. Gimbal lock is purely kinematic, it means a sequence of rotations is not giving a definite solution.