Hello,
I read all the posts regarding driving a spine joints. However, they only mention to refer to the SpineFixationWithFDK. I read the driver carefully for that part. However, when I want to drive spine joints on FacetjointsModel. What I did is to set #define BM_SPINE_RHYTHM OFF in main file. And add the following drivers in Model/JointsAndDriversSimple.any. The Model give no errors, but the spine does not move, too. Does anyone knows how to solve this problem?
//Neck driver
AnyKinEqSimpleDriver NeckJntDriver = {
AnyRevoluteJoint &T12L1Joint = …RefHM.Interface.Trunk.NeckJoint;
DriverPos = pi/180*{0};
DriverVel = pi/180*{0};
Reaction.Type = {Off};
};
//Spine joints
AnyFolder &refJoints = …HumanModel.Trunk.JointsLumbar;
AnyFolder &JntPos=…Mannequin.Posture;
AnyFolder &JntVel=…Mannequin.PostureVel;
AnyKinEqSimpleDriver LumbarT12L1 =
{
AnySphericalJoint &jntt12l1 = .refJoints.T12L1Jnt;
DriverPos = pi/180*{0.17725, 0.0, 0.0};
DriverVel = pi/180*{0.0, 0.0, 0.0};
Reaction.Type = {Off, Off, Off};
};
AnyKinEqSimpleDriver LumbarL1L2 =
{
AnySphericalJoint &jnt12 = .refJoints.L1L2Jnt;
DriverPos = pi/180*{0.17725, 0.0, 0.0};
DriverVel = pi/180*{0.0, 0.0, 0.0};
Reaction.Type = {Off, Off, Off};
};
AnyKinEqSimpleDriver LumbarL2L3 =
{
AnySphericalJoint &jnt23 = .refJoints.L2L3Jnt;
DriverPos = pi/180*{0.17725, 0.0, 0.0};
DriverVel = pi/180*{0.0, 0.0, 0.0};
Reaction.Type = {Off, Off, Off};
};
AnyKinEqSimpleDriver LumbarL3L4 =
{
AnySphericalJoint &jnt34 = .refJoints.L3L4Jnt;
DriverPos = pi/180*{0.17725, 0.0, 0.0};
DriverVel = pi/180*{0.0, 0.0, 0.0};
Reaction.Type = {Off, Off, Off};
};
AnyKinEqSimpleDriver LumbarL4L5 =
{
AnySphericalJoint &jnt45 = .refJoints.L4L5Jnt;
DriverPos = pi/180*{0.17725, 0.0, 0.0};
DriverVel = pi/180*{0.0, 0.0, 0.0};
Reaction.Type = {Off, Off, Off};
};
AnyKinEqSimpleDriver SacrumPelvisDriver = {
AnySphericalJoint &Jnt = Main.HumanModel.BodyModel.Trunk.JointsLumbar.SacrumPelvisJnt;
DriverPos = pi/180*{0.0, 0.0, 0.0};
DriverVel = pi/180*{0.0, 0.0, 0.0};
Reaction.Type = {Off, Off, Off};
};