Hi,
I am also looking into the measurement of medial and lateral knee loads during gait cycle. I have some questions regarding the usage of AnyGeneralMuscle.
yes this is a feasible solution, if you create a medial and lateral node on the knee axis and create AnyGeneral muscles using these nodes
How do you use the nodes to define an AnyGeneralMuscle?So far I know this class only takes AnyKinMeasure as the input?
Also, I tried following the tutorial on General Muscles and came up with this code:
AnyKinLinear LateralPos =
{
Ref = 0;
AnyFixedRefFrame &Ground=Main.Studies.InverseDynamicStudy.EnvironmentModel.GlobalRef;
AnyRefNode < = Main.Studies.HumanModel.BodyModel.Right.Leg.Seg.Shank.LateralTibialEpicondyle;
};
AnyKinLinear MedialPos =
{
Ref =0;
AnyFixedRefFrame &Ground = Main.Studies.InverseDynamicStudy.EnvironmentModel.GlobalRef;
AnyRefNode &MT =Main.Studies.HumanModel.BodyModel.Right.Leg.Seg.Shank.MedialTibialEpicondyle ;
};
AnyMuscleModel Musc2 =
{
F0 = 5000;
};
AnyKinEqSimpleDriver LatPos={
AnyKinLinear &LP=.LateralPos;
MeasureOrganizer={0,1,2};
Reaction.Type={Off,Off,Off};
DriverPos={1.4,0.4,0.5};
DriverVel={-1,0,-0.1};
DriverAcc={-1.3,0.3,1.4};
};
AnyKinEqSimpleDriver MedPos={
AnyKinLinear &MP=.MedialPos;
MeasureOrganizer={0,1,2};
Reaction.Type={Off,Off,Off};
DriverPos={1.3,0.3,0.48};
DriverVel={-1.2,0,-0.1};
DriverAcc={-1.7,0.2,1.8};
};
/*AnyGeneralMuscle Lateral =
{
//ForceDirection = 1;
AnyKinMeasure &Angle=.LatPos;
AnyMuscleModel &Mus = .Musc2;
//AnyDrawMuscle DrwMus = {#include "../DrawSettings/MusDrawSettings.any"
};
AnyGeneralMuscle Medial =
{
//ForceDirection = 1;
AnyKinMeasure &Angle=.MedPos;
AnyMuscleModel &Mus = .Musc2;
//AnyDrawMuscle DrwMus = {#include "../DrawSettings/MusDrawSettings.any"
};
I keep getting an error message saying "ERROR(OBJ1) : F:/AMMRV1.4.1/Body/AAUHuman/LegTD/Mus.any : Lateral : Only a single 1-dimensional kinematic measure is allowed inside a muscle (YET)
"
Can anyone point out where my mistake is?
Thank you very much!
Asty