[quote=aalmunajjed;13646]Damon,
When you look into your C3D file (with MLSViewer for example), you see under Forceplatforms that type2 is used. You have to include the Type2 Platforms in the beginning of the main file AND change the code in the EnvironmentAutoDetect file.
Change:
- ForcePlateType4AutoDetection to ForcePlateType2AutoDetection
- Change the Vertical Direction to Z
- Take out: ,FootPresent=HumanModelPresent
- Take out the calibration: Cal=Main.ModelSetup.C3DFileData.Groups.FORCE_PLATFORM.CAL_MATRIX.Data[0];
for all 4 Plates. This will result in:
ForcePlateType2AutoDetectionPlate1(
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)
={};
ForcePlateType2AutoDetectionPlate2(
PlateName=Plate2,
Folder=Main.ModelSetup.C3DFileData,
Limb1=.HumanModelRef.Right.Leg.Seg.Foot,
Limb2=.HumanModelRef.Left.Leg.Seg.Foot,
No=1,
VerticalDirection=“Z”,
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)
={};
ForcePlateType2AutoDetectionPlate3(
PlateName=Plate3,
Folder=Main.ModelSetup.C3DFileData,
Limb1=.HumanModelRef.Right.Leg.Seg.Foot,
Limb2=.HumanModelRef.Left.Leg.Seg.Foot,
No=2,
VerticalDirection=“Z”,
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)
={};
ForcePlateType2AutoDetectionPlate4(
PlateName=Plate4,
Folder=Main.ModelSetup.C3DFileData,
Limb1=.HumanModelRef.Right.Leg.Seg.Foot,
Limb2=.HumanModelRef.Left.Leg.Seg.Foot,
No=3,
VerticalDirection=“Z”,
HeightTolerance=0.07,
VelThreshold=2.2,
Fx=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fx4,
Fy=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fy4,
Fz=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Fz4,
Mx=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Mx4,
My=Main.ModelSetup.C3DFileData.Analog.DataFiltered.My4,
Mz=Main.ModelSetup.C3DFileData.Analog.DataFiltered.Mz4)
={};
This worked for us! And please try to upload any files here in the Forum instead of sending them to support.
Amir
[quote=dstambolian ]
Hi Amir
Thanks for that help, its great to see the forceplates are there now!
Were you able to get the C3D files to complete through MotionAndPar…Model and InverseDyn…Model, and everything is working as it should when including the forceplate data into the Anybody dynamic code to equate the lumbar kinetics and muscle forces?
Also can you help me with this:
1- In one of the Webcast it was recommended to remove the drivers for the acromioclavicular joint in the GaitFullModel. What are the advantages to doing this, and disadvantages for not doing this?
2- Processing takes a long time. Using a longer C3D file, one that has 318 steps in AnybodyOperations, it took 5 hours to complete MotionAndPar…Model. Its now 11:30pm and I’m starting the InverseDyn…Model to run overnight. What can I do to speed this up? [FONT=Calibri][SIZE=3]My computer is windows 7 duel processors and about a year old, so I don’t think its my computer. The motion captured is taken at 120 frames per second, could this be too many frames. What do you think?[/SIZE][/FONT]
3- And just wondering, why it was necessary to take out: “FootPresent=HumanModelPresent”
And to take out: “Cal=Main.ModelSetup.C3DFileData.Groups.FORCE_PLATFORM.CAL_MATRIX.Data”
Sincerely Thanks again,
Damon