GaitFullBody

Hello,

I’m starting with Anybody. I have problem, i cannot to load my c3d file to GaitFullBody.

ERROR(SCR.PRS12) : ‘FileName(LineNo)’ : ‘TokenString’ when ‘TokenString’ was expected

Explanation:
This error arise in very particular cases, where AnyScript requires a special token, for instance the first object in a main-file must be Main.

Dear Eva,

First, welcome to the AnyBody forum.

Could you please upload your C3D file into the debug model section?
http://forum.anyscript.org/forumdisplay.php?f=21

Then we will try to figure out what the problems of your C3D files are.

Best regards,
Moonki

Hello,

i have problem with forceplates, can you help me please? I load my FullGaitBody file.

Thank you Eva

Hi Eva,

Could you please let us know which version of AMS and AMMR you are using?

Best regards,
Moonki

Hello,

I have AnyBody M.S. 5.1 and AMMRV 1.3.1
Best regards, thank you!

Eva

Hi Eva,

I’ve tried to run your model, but I could not finish it.

When we look your C3D file, the ‘RTHI’ marker is dropped out.

It means that we don’t have enough kinematic information for your right thigh segment.

Could you prepare another C3D file which does not include any dropped-out markers?

Anyway, here I attached the modified version of your model.

Best regards,
Moonki

Hello,
I have other c3d file,I check it and I hope, that all markers are ready! I have problem with forceplates, especially with force Fx2. I need to determine force of verterae Th5 nad Th6 for my project. I can not do other measuring in the motion lab. Dr Zdenka should update AMS today or tomorrow. Thank you for your help, I never use this software before!

Eva,

please have a look at our Wiki:

http://wiki.anyscript.org/index.php/How_to_setup_your_own_MoCap_driven_Model

here is explained how to adapt the standard model to your lab settings. The trouble you experience is due to a different forceplate configuration in your lab compared to the AnyBody lab. You only have one forceplate from type 2, so you need to change the EnvironmentAutoDetection to:

ForcePlateType2AutoDetection Plate1 (
PlateName = Plate1,
Folder =Main.ModelSetup.C3DFileData,
Limb1= .BodyModelRef.Right.Leg.Seg.Foot,
Limb2= .BodyModelRef.Left.Leg.Seg.Foot,
No=0,
VerticalDirection =“Y”,
HeightTolerance=0.07,
VelThreshold=2.2,
Fx=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fx1,
Fy=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fy1,
Fz=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fz1,
Mx=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Mx1,
My=Main.ModelSetup.C3DFileData.Analog.DataFiltered.My1,
Mz=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Mz1,
FootPresent=HumanModelPresent)
={
};

//ForcePlateType4AutoDetection Plate2 (
//PlateName = Plate2,
//Folder =Main.ModelSetup.C3DFileData,
//Limb1= .BodyModelRef.Right.Leg.Seg.Foot,
//Limb2= .BodyModelRef.Left.Leg.Seg.Foot,
//No=1,
//VerticalDirection =“Y”,
//HeightTolerance=0.07,
//VelThreshold=2.2,
//Fx=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fx2,
//Fy=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fy2,
//Fz=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fz2,
//Mx=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Mx2,
//My=Main.ModelSetup.C3DFileData.Analog.DataFiltered.My2,
//Mz=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Mz2,
//FootPresent=HumanModelPresent)
//={
// Cal=Main.ModelSetup.C3DFileData.Groups.FORCE_PLATFORM.CAL_MATRIX.Data[1];
// Switch_DrawForceVectorFromCOP = On;
//};
//
//ForcePlateType4AutoDetection Plate3 (
//PlateName = Plate3,
//Folder =Main.ModelSetup.C3DFileData,
//Limb1= .BodyModelRef.Right.Leg.Seg.Foot,
//Limb2= .BodyModelRef.Left.Leg.Seg.Foot,
//No=2,
//VerticalDirection =“Y”,
//HeightTolerance=0.07,
//VelThreshold=2.2,
//Fx=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fx3,
//Fy=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fy3,
//Fz=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fz3,
//Mx=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Mx3,
//My=Main.ModelSetup.C3DFileData.Analog.DataFiltered.My3,
//Mz=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Mz3,
//FootPresent=HumanModelPresent)
//={
// Cal=Main.ModelSetup.C3DFileData.Groups.FORCE_PLATFORM.CAL_MATRIX.Data[2];
// Switch_DrawForceVectorFromCOP = On;
//};

and inlcude ForcePlateType 2 in the main file:

//Class used to construct a forceplate of type4
#include “<ANYBODY_PATH_TOOLBOX>/Mocap/ForcePlateType4AutoDetection.any”
#include “<ANYBODY_PATH_TOOLBOX>/Mocap/ForcePlateType4.any”
#include “<ANYBODY_PATH_TOOLBOX>/Mocap/ForcePlateType2AutoDetection.any”
#include “<ANYBODY_PATH_TOOLBOX>/Mocap/ForcePlateType2.any”

Hello, I change my script but I dont uderstand which path should I included, the path (ANYBODY_PATH_TOOLBOX) for my script, or for software anybody? Than I have another problem with FootPresent=HumanModelPresent in ForcePlateType2AutoDetection

ERROR(SCR.SCN18) : ‘TokenString’ : Unknown Class Template argument.

Explanation:
The AnyScript scanner is indicating that a Class Template is used with a wrong argument name. This argument was not declared in argument list at Class Template declaration.

Any way I have to solve my problem very fast, is here some possibility dont include the forceplates to my solution?

Than you very much for your answer!

Eva,

If you want to add muscles to your model, you need to use the forceplates. You have that code in the beginning of the main file:

#include “…/…/…/Body/AAUHuman/ToolBox/Mocap/ForcePlateType4AutoDetection.any”
#include “…/…/…/Body/AAUHuman/ToolBox/Mocap/ForcePlateType4.any”

just add:

#include “…/…/…/Body/AAUHuman/ToolBox/Mocap/ForcePlateType2AutoDetection.any”
#include “…/…/…/Body/AAUHuman/ToolBox/Mocap/ForcePlateType2.any”

use following code for the forceplates

ForcePlateType2AutoDetection Plate1 (
PlateName = Plate1,
Folder =Main.ModelSetup.C3DFileData,
Limb1= .HumanModelRef.Right.Leg.Seg.Foot,
Limb2= .HumanModelRef.Left.Leg.Seg.Foot,
No=0,
VerticalDirection =“Z”,
HeightTolerance=0.07,
VelThreshold=2.2,
Fx=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fx1,
Fy=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fy1,
Fz=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fz1,
Mx=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Mx1,
My=Main.ModelSetup.C3DFileData.Analog.DataFiltered.My1,
Mz=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Mz1
)
={
};

and add a “;” after gravity in the main file!