Hi everyone,
I want to export the data of the load on the pelvis in a gait.I insert AnyMechOutputFileForceExport in the inversedynamicstudy folder as follows:
AnyBodyStudy InverseDynamicStudy = {
AnyFolder &C3DData=..ModelSetup.C3DFileData ;
AnyFolder &BodyModel=.HumanModel.BodyModel;
#include "Mannequin.any" //// Usually no need to make changes
AnyFolder &EnvironmentModel = Main.EnvironmentModel;
AnyFolder ModelEnvironmentConnection = {
#include "JointsAndDriversOptimized.any" //// Usually no need to make changes
};
Gravity = Main.TrialSpecificData.Gravity;
tStart = Main.ModelSetup.tStart+2Kinematics.ApproxVelAccPerturb;
tEnd = Main.ModelSetup.tEnd-2Kinematics.ApproxVelAccPerturb;
nStep = Main.TrialSpecificData.nStep;
InverseDynamics.Criterion.UpperBoundOnOff=Off;
InitialConditions.MaxIteration = 20000;
Kinematics.MaxIteration = 20000;
AnyMechOutputFileForceExport FE_out =
{
FileName = "file_in/pelvisload.xml";
UseRefFrameOnOff = On;
AnyRefFrame &ref1 =
Main.Studies.HumanModel.BodyModel.Trunk.SegmentsLumbar.PelvisSeg.localrefframe;
AllSegmentsInStudyOnOff = Off;
AnySeg &pelvis = Main.Studies.HumanModel.BodyModel.Trunk.SegmentsLumbar.PelvisSeg;
XMLformatOnOff = On;
};
};
and I run the inversedynamicstudy ,but it emerge an error ,it said as follow:
ERROR(OBJ.FILE1) : 'ObjectName' : Problem with file : 'FileName(LineNo)' : 'Additional explanation'
Explanation:
This message is sent by AnyFile objects or other objects operating on files. This is a generic message that cover several different issues depending on the actual type of file and the situation. An 'additional explanation' will typically accompany the basic part of the message explaining the particular issue. For text files, references may include the line number of the error if applicable.
How can I solve this problem
Thanks
Dora