Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example of text based forceplate data #646

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,23 @@
// Include the AnyMoCap Framwork
#include "<ANYMOCAP_MODEL>"


Main = {

#include "TextForcePlateData.any"

Main.EnvironmentModel.ForcePlates = {
ForcePlateAutoDetection Plate1(
PLATE_NO=1,
LIMB1 = Main.HumanModel.BodyModel.Right.Leg.Seg.Foot,
LIMB2 = Main.HumanModel.BodyModel.Left.Leg.Seg.Foot,
HeightTolerance = 0.07,
VelThreshold = 2.2,
FORCEPLATE_TYPE = 4,
ALLOW_MULTI_LIMB_CONTACT = OFF
) = { };
};



};
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
Main.ModelSetup.C3DFileData = {


AnyFloat PointsScaleFactor = 0.001;

AnyString AnalogLabels = {"Fx1", "Fy1", "Fz1", "Mx1", "My1", "Mz1", "Fx2", "Fy2", "Fz2", "Mx2", "My2", "Mz2", "Fx3", "Fy3", "Fz3", "Mx3", "My3", "Mz3"};

Header = {
AnyIntVar NoAnalogSamplesPer3DFrame = 10;
};

AnyFolder Groups = {
AnyFolder FORCE_PLATFORM = {

AnyFolder USED = {
AnyIntVar Data = 3;
};
AnyFolder TYPE = {
AnyInt Data = {4,4,4};
};
AnyFolder CORNERS = {
AnyFloat Data = {
{{493.65, -22.719, -447.433}, {492.871, -23.7673, 4.51691}, {-6.18936, -24.9433, 2.48103}, {-4.46875, -23.4108, -449.314}},
{{1256.41, -13.532, -679.267}, {1252.38, -14.1924, -229.51}, {758.888, -20.2354, -231.383}, {758.717, -20.3881, -681.816}},
{{2019.84, -6.26821, -449.165}, {2016.89, -7.06327, 4.60202}, {1523.75, -13.716, 1.21542}, {1522.12, -13.0173, -448.928}}
};
};
AnyFolder ORIGIN = {
AnyFloat Data = {
{1.0, -0.76, -39.0},
{1.0, -0.12, -36.0},
{1.0, -0.28, -39.0}
};
};
AnyFolder CHANNEL = {
AnyInt Data = {{1, 2, 3, 4, 5, 6}, {7, 8, 9, 10, 11, 12}, {13, 14, 15, 16, 17, 18}};
};
AnyFolder CAL_MATRIX = {
AnyFloat Data = {{{2.943, -0.027, -0.021, 0.0, 0.0, 4.0}, {0.035, 2.972, 0.003, 0.0, -1.0, -1.0}, {0.021, 0.019, 11.509, 0.0, 0.0, -4.0}, {-0.029, -0.005, -0.004, 1524.0, 6.0, 1.0}, {-0.041, 0.011, 0.008, -5.0, 1523.0, -1.0}, {-0.005, 0.015, 0.013, -1.0, 2.0, 743.0}}, {{2.946, -0.01, 0.017, 0.0, -4.0, 2.0}, {0.026, 2.963, -0.013, -4.0, -1.0, 4.0}, {0.06, -0.059, 11.556, 0.0, 0.0, -5.0}, {-0.048, 0.111, -0.023, 1538.0, 6.0, 2.0}, {-0.01, 0.064, -0.032, -3.0, 1541.0, -7.0}, {0.006, -0.003, 0.043, -4.0, 10.0, 751.0}}, {{1.522, 0.007, 0.012, 0.0, -1.0, -1.0}, {-0.006, 1.521, 0.005, -1.0, 0.0, 1.0}, {0.005, -0.007, 5.944, 0.0, 0.0, -1.0}, {-0.007, -0.001, 0.022, 608.0, 2.0, -3.0}, {0.0, 0.0, 0.001, 1.0, 610.0, 0.0}, {-0.002, 0.004, 0.005, -1.0, 1.0, 305.0}}};
};
};

}; //GROUPS

AnyFolder Analog = {
AnyFolder DataFiltered = {
AnyFloat Fx1 = 0*iarr(1,36970);
AnyFloat Fy1 = 0*iarr(1,36970);
AnyFloat Fz1 = 0*iarr(1,36970);
AnyFloat Mx1 = 0*iarr(1,36970);
AnyFloat My1 = 0*iarr(1,36970);
AnyFloat Mz1 = 0*iarr(1,36970);
};



};
















};