So beacause I can’t upload anything at the Moment…
AnyKinEqSimpleDriver PelvisGroundDriver ={
AnyKinLinear lin ={
AnyFixedRefFrame &ref1 =…EnvironmentModel.GlobalRef;
AnySeg &ref2 =…HumanModel.Trunk.SegmentsLumbar.PelvisSeg;
};
AnyKinRotational rot ={
AnyFixedRefFrame &ref1 =…EnvironmentModel.GlobalRef;
AnySeg &ref2 =…HumanModel.Trunk.SegmentsLumbar.PelvisSeg;
Type=RotAxesAngles;
};
DriverPos={0,0,0,0,0,0};
DriverVel={0,0,0,0,0,0};
Reaction.Type={On,On,On,On,On,On};
};
// ************************************
// Drivers for the spine
// ************************************
//Neck driver
AnyFunInterpol InterpolNeck = {
Type = Bspline;
FileName = “C:\Users\kisch.LFE\Desktop\Masterarbeit Julika Kisch\AMMR.v1.5.1-MyDemo\Application\Examples\FreePostureMove\Input\NeckFlexExt.txt”;
};
AnyKinEqInterPolDriver NeckJntDriver = {
Type = Bspline;
T = .InterpolNeck.T;
Data =.InterpolNeck.Data*pi/180;
AnyKinMeasureOrg &ref1 = …HumanModel.Interface.Trunk.NeckJoint;
Reaction.Type = {Off};
};
//Thorax pelvis rotation driver
AnyFunInterpol InterpolPelvis = {
Type = Bspline;
FileName = “C:\Users\kisch.LFE\Desktop\Masterarbeit Julika Kisch\AMMR.v1.5.1-MyDemo\Application\Examples\FreePostureMove\Input\ThoraxPelvis.txt”;
};
AnyKinEqInterPolDriver PostureDriver ={
Type = Bspline;
T = .InterpolPelvis.T;
Data = (.InterpolPelvis.Data’pi/180{{0,0,0},{0,0,0},{0,0,-1}})’;
AnyKinMeasureOrg &Ref2 = …HumanModel.Interface.Trunk.PelvisThoraxLateralBending;
AnyKinMeasureOrg &Ref3 = …HumanModel.Interface.Trunk.PelvisThoraxRotation;
AnyKinMeasureOrg &Ref1 = …HumanModel.Interface.Trunk.PelvisThoraxExtension;
Reaction.Type = {Off,Off,Off};
};
// ************************************
// Drivers for the right arm
// ************************************
//Sterno clavicular joint driver
AnyKinEqSimpleDriver SCDriverRight ={
AnyKinMeasureOrg &ref1 =…HumanModel.Interface.Right.SternoClavicularProtraction;
AnyKinMeasureOrg &ref2 =…HumanModel.Interface.Right.SternoClavicularElevation;
AnyKinMeasureOrg &ref3 =…HumanModel.Interface.Right.SternoClavicularAxialRotation;
DriverPos={0,0,0};
DriverVel={0,0,0};
Reaction.Type={Off,Off,Off};
};
//Glenohumeral joint
AnyFunInterpol InterpolShoulderRight = {
Type = Bspline;
FileName = “C:\Users\kisch.LFE\Desktop\Masterarbeit Julika Kisch\AMMR.v1.5.1-MyDemo\Application\Examples\FreePostureMove\Input\GlenohumeralRight.txt”;
};
AnyKinEqInterPolDriver GHDriverRight={
Type = Bspline;
T = .InterpolShoulderRight.T;
Data =(.InterpolShoulderRight.Data’ pi/180 * {{-1,0,0},{0,1,0},{0,0,1}})’; //{{-1,0,0},{0,1,0},{0,0,1}})’;
AnyKinMeasureOrg &ref1 =…HumanModel.Interface.Right.GlenohumeralAbduction;
AnyKinMeasureOrg &ref2 =…HumanModel.Interface.Right.GlenohumeralFlexion;
AnyKinMeasureOrg &ref3 =…HumanModel.Interface.Right.GlenohumeralExternalRotation;
Reaction.Type = {Off,Off,Off};
};
//Elbow flexion driver
AnyFunInterpol InterpolElbowFlexRight = {
Type = Bspline;
FileName = “C:\Users\kisch.LFE\Desktop\Masterarbeit Julika Kisch\AMMR.v1.5.1-MyDemo\Application\Examples\FreePostureMove\Input\ElbowRightFlexExt.txt”;
};
AnyKinEqInterPolDriver ElbowFlexionDriverRight={
Type = Bspline;
T = .InterpolElbowFlexRight.T;
Data =.InterpolElbowFlexRight.Data*pi/180;
AnyKinMeasureOrg &ref1 =…HumanModel.Interface.Right.ElbowFlexion;
Reaction.Type = {Off};
};
//Elbow pronation driver
AnyFunInterpol InterpolElbowRotRight = {
Type = Bspline;
FileName = “C:\Users\kisch.LFE\Desktop\Masterarbeit Julika Kisch\AMMR.v1.5.1-MyDemo\Application\Examples\FreePostureMove\Input\ElbowRightRotation.txt”;
};
AnyKinEqInterPolDriver ElbowPronationDriverRight={
Type = Bspline;
T = .InterpolElbowRotRight.T;
Data =.InterpolElbowRotRight.Data*pi/180;
AnyKinMeasureOrg &ref1 =…HumanModel.Interface.Right.ElbowPronation;
Reaction.Type = {Off};
};
//Wrist driver
AnyFunInterpol InterpolWristRight = {
Type = Bspline;
FileName = “C:\Users\kisch.LFE\Desktop\Masterarbeit Julika Kisch\AMMR.v1.5.1-MyDemo\Application\Examples\FreePostureMove\Input\WristRight.txt”;
};
AnyKinEqInterPolDriver WristDriverRight ={
Type = Bspline;
T = .InterpolWristRight.T;
Data =.InterpolWristRight.Data*pi/180;
AnyKinMeasureOrg &ref1 =…HumanModel.Interface.Right.WristFlexion;
AnyKinMeasureOrg[SIZE=2] &ref2 =…HumanModel.Interface.Right.WristAbduction;
Reaction.Type = {Off,Off};
};
[/SIZE]