Dear AnyBody community
Hello
I am using the Mocap lower extremity model with our own C3D data . We do not have any marker on the trunk . The model complete the Kinematic and Inverse dynamic analysis , but somehow the trunk fall forward , something like the person is leaning forward which is not correct …
I have replaced the upper body markers with below drivers , but still the trunk looks weird when the model walks !
Is there anyway to keep the trunk upright !?
#if HeadMarkersOnOff == OFF
#if TRUNK == 1
AnyKinEqSimpleDriver NeckDrv=
{
AnyKinMeasureOrg &ref0 = …BodyModel.Interface.Trunk.NeckJoint;
DriverPos=pi/180*{.JntPos.NeckExtension};
DriverVel=pi/180*{.JntVel.NeckExtension};
// DriverPos=pi/180*{0};
// DriverVel=pi/180*{0};
Reaction.Type={Off};
//CType = {Soft};
};
#endif
#if TRUNK_NECK == 1
AnyKinEqSimpleDriver NeckDrv=
{
AnyKinMeasureOrg &ref0 = …BodyModel.Interface.Trunk.SkullThoraxFlexion;
AnyKinMeasureOrg &ref1 = …BodyModel.Interface.Trunk.SkullThoraxLateralBending;
AnyKinMeasureOrg &ref2 = …BodyModel.Interface.Trunk.SkullThoraxRotation;
DriverPos=pi/180*{0, 0, 0};
DriverVel=pi/180*{0, 0, 0};
Reaction.Type={Off, Off, Off};
//CType = {Soft, Soft, Soft};
};
#endif
#endif
#if TrunkMarkersOnOff == OFF
AnyKinEqSimpleDriver PelvisThoraxDrv =
{
AnyKinMeasure& ref0 = …BodyModel.Interface.Trunk.PelvisThoraxExtension;
AnyKinMeasure& ref1 = …BodyModel.Interface.Trunk.PelvisThoraxLateralBending;
AnyKinMeasure& ref2 = …BodyModel.Interface.Trunk.PelvisThoraxRotation;
// DriverPos=pi/180*{0, 0 , 0};
// DriverVel=pi/180*{0, 0, 0};
//
DriverPos = pi/180* {
.JntPos.PelvisThoraxExtension,
.JntPos.PelvisThoraxLateralBending,
.JntPos.PelvisThoraxRotation };
DriverVel = pi/180* {
.JntVel.PelvisThoraxExtension,
.JntVel.PelvisThoraxLateralBending,
.JntVel.PelvisThoraxRotation };
Reaction.Type = {Off,Off, Off};
CType = {Soft, Soft, Soft};
};
#endif