34 lines (24 with data), 801 Bytes
// Example of specifying an offset to the force plate surface.
#include "../libdef.any"
#include "<ANYMOCAP_MODEL>"
Main = {
EnvironmentModel.ForcePlates =
{
ForcePlateAutoDetection Floor (PLATE_NO=1, FORCEPLATE_TYPE=2) =
{ };
ForcePlateAutoDetection Step1 (PLATE_NO=2, FORCEPLATE_TYPE=2) =
{
SurfaceOffset = {0,-0.3, 0.175};
};
ForcePlateAutoDetection Step2 (PLATE_NO=1, FORCEPLATE_TYPE=2) =
{
SurfaceOffset = {0,0.60, 0.35};
};
ForcePlateAutoDetection Step3 (PLATE_NO=2, FORCEPLATE_TYPE=2) =
{
SurfaceOffset = {0,0.28, 0.525};
};
};
// Used to automatically set the load time positions for the model.
AutoPelvisPos AutoPos(RASIS=RASIS, LASIS=LASIS, BACK=RPSIS) = {};
};