Modified GaitFullBody for MoCap Shoulder Analysis

I’m attempting to modify the Full Body Gait model from AMMR 1.3 in AnyBody 5.0. I’ve removed lower body markers and replaced them with drivers. I’ve added a few additional markers, as well. I’ve closely matched the initial posture of the model so the markers are all close. I’ve attached the C3D file with marker data of a model performing a static, neutral pose. During the kinematic step, the lower arm lines up well with the markers, but the rest of the model fails. The elbow flexes to it’s maximum, allowing the rest of the model to downward significantly, as can be seen in the two pictures I’ve attached.

Thanks in advance for any assistance.

Hi Christopher,




//PelvisPosition Driver
AnyKinEqSimpleDriver PelvisPostureDrv = {
   AnyKinMeasure &ref0 = ...HumanModel.BodyModel.Interface.Trunk.PelvisPosX;
   AnyKinMeasure &ref1 = ...HumanModel.BodyModel.Interface.Trunk.PelvisPosY;
   AnyKinMeasure &ref2 = ...HumanModel.BodyModel.Interface.Trunk.PelvisPosZ;
   
   DriverPos = //pi/180*
   {
     .JntPos.PelvisPosX,
     .JntPos.PelvisPosY,
     .JntPos.PelvisPosZ
   };
   DriverVel = //pi/180*
   {
     .JntVel.PelvisPosX,
     .JntVel.PelvisPosY,
     .JntVel.PelvisPosZ
   };
   Reaction.Type = {Off,Off,Off};
 };
 

You should not convert those displacement values to radians :wink:

Regards,
Pavel