Hello,
I wrote the following code lines in order to export the GRF, which are applied to the human in the GaitFullBody model (AMMR.v1.6).
Could you please check this, and tell me if it is correct?
I have some doubt because the first peak value of the GRF ( ~586.38 N) is less than the Bodyweight (~608.2 N).
///GRF Plate 1
///////////////
AnyForceMomentMeasure GRF_NetEffectMeasure1 =
{
AnyRefFrame& ref = .EnvironmentModel.Plate1.ForcePlate;
// AnySeg& seg = .BodyModel.Right.Leg.Seg.Shank;
AnyForceBase& Forces = .EnvironmentModel.Plate1.Force;
AnyForceBase& Moments = .EnvironmentModel.Plate1.Moment ;
AnyVec3 Flocal = Fref.Axes;
AnyVec3 Mlocal = Mref.Axes;
};
AnyOutputFile GRF_NetEffectMeasureGlobal_1= {
FileName = "GRF_NetEffectMeasureGlobal_1.txt"; //name of the output file
NumberFormat = {
Digits = 15; //number of digitsd
Width = 22; //number characters in number
Style = ScientificNumber;
};
SepSign = ";"; //separator sign between columns
LineSepSign = ""; //separator sign for line shifts
Header = {
TitleSectionOnOff = Off; //swicth the header on/off
ConstSectionOnOff = Off; //swicth constan section on/off
VarSectionOnOff = Off; //swicth the variable on/off
ColumnNamesOnOff = On; //swicth the column names on/off
LinePrefix = "";
};
AnyVector F_GRF_NetEffectMeasureGlobal_1 =.GRF_NetEffectMeasure1.F ;
AnyVector M_GRF_NetEffectMeasureGlobal_1 =.GRF_NetEffectMeasure1.M ;
};
///////////////
Cheers!