Unable to perform Horizontal Adduction and Horizontal abduction in shoulder

Hi,

I am using the freeposture model to visualize various movements in the arm.
I am trying out various movements in the arm. I am not able to perform the horizontal shoulder abduction/adduction in the free posture model.
The following are the three different values that we are allowed to input in the mannequin folder with respect to shoulder.
AnyVector GlenohumeralFlexion =0.5*{0,0,0,0,0,0,0,0,0,0,0};
AnyVector GlenohumeralAbduction ={0,0,0,0,0,0,0,45,45,45,45};
AnyVector GlenohumeralExternalRotation ={0,0,0,0,0,0,20,20,20,20,20};
I tried various combinations of angles in these three inputs. But, i am not able to get the horizontal adduction/abduction in the shoulder. I am only able to do flexion and abduction separately.
To illustrate what movement i am talking about, i am attaching the link that visualizes this motion.


Please let me know how to attain this motion in the free posture move model.

Thank you,
James.

Hi James,

Use this piece of code:

AnyVector GlenohumeralFlexionVec =45 + {10,30,50,70,89.5}; // from 45 degrees to ~135
AnyVector GlenohumeralAbductionVec =89.5 + 0*{ 10,30,50,70,90} ;
AnyVector GlenohumeralExternalRotationVec =0*{10,30,50,70,90};

The problem here is that you operate very close to the Gimbal lock configuration:
Gimbal Lock

Kind regards,
Pavel