Issue with force platform

Hi,

I am getting an error related to Force Platform. Am using two platforms (1st: Type 4 and 2nd: Type 2) . I have defined these in my forceplate.any
ForcePlateType4AutoDetection Plate1 (
PlateName = Plate1,
Folder =Main.ModelSetup.C3DFileData,
Limb1= .BodyModelRef.Right.Leg.Seg.Foot,
Limb2= .BodyModelRef.Left.Leg.Seg.Foot,
No=0,
VerticalDirection =“Z”, // Our lab coordinate system (Z is vertical)
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)
={;
// Cal=Main.ModelSetup.C3DFileData.Groups.FORCE_PLATFORM.CAL_MATRIX.Data[0];
// Switch_DrawForceVectorFromCOP = On;
};

and the second platform similar as above but Type 2.

when I run MotionAndParameterOptimizationModel I would get the following error:
‘FORCE_PLATFORM’ : Unresolved object

wen i click on the hyperlink in the message window it directs me to
ForcePlateType2AutoDetection.any

sRel=0.001*{Folder.Groups.FORCE_PLATFORM.CORNERS.Data[plnr][i][0],Folder.Groups.FORCE_PLATFORM.CORNERS.Data[No][i][1],Folder.Groups.FORCE_PLATFORM.CORNERS.Data[No][i][2]};

I dont really know what to do now: I have changed the name of Fx, Fy ,Fz etc… to match with my C3D files which is FX, FY, FZ etx… but still the error occurs. Also, commented the “cal=…” but the same error pops up.

it is much appreciated if you help me on this.

Kind regards,

Dear Pouyan Mehryar,

Please upload your model here then we can have a look at your model.

Best regards,
Moonki

Hi Moonki,

Please look for the attachment!

Thank you in advance for your response.

Hi,

  1. I would recommend you to start your model from our MoCapModel example.

  2. When I looked at your C3D file, it has two forceplates with two different types. I attached the screenshot of your C3D file at MOKKA.
    One is force plate type 2 and the other is force plate type 4.
    So you should be careful for your force plate setting code.

  3. Also your marker set is different from what our MoCapModel has as its default. So you should define your own marker set.

Best regards,
Moonki