Extracting metric values from Vicon's .MP file into Visual3D Subject/Data Metrics
The command can be found in the Pipeline Workshop under Model Building as so
Get_Vicon_Model_Metric ! /CALIBRATION_FILE= ! /MP_FILE_NAME= ! /METRIC_NAMES= ! /DEFAULT_METRIC_VALUES= ! /NAME_PREFIX=V_ ;
The following table shows the command parameters seen above and their descriptions:
| CALIBRATION_FILE | The Link Model in which the metrics will be stored if empty or =*, the current link model is used |
| MP_FILE_NAME | The Vicon MP file ensure it is full pathname, if empty, the user is prompted for the filename |
| METRIC_NAMES | The names of the metric, if empty or =*, all names in the .mp file are selected |
| DEFAULT_METRIC_VALUES | Default name value |
| NAME_PREFIX | Prefix for the given name |
Given an MP file containing the following information:
$RKnee_Width = 150.0 $RFoot_Width = 100.0 $LKnee_Width = 150.0 $LFoot_Width = 100.0
and the command
Get_Vicon_Model_Metric /CALIBRATION_FILE=* /MP_FILE_NAME= /METRIC_NAMES= /METRIC_VALUES= /NAME_PREFIX= ;
Get_Vicon_Model_Metric /CALIBRATION_FILE= /MP_FILE_NAME= /METRIC_NAMES=RHip_Radius /DEFAULT_METRIC_VALUES=0.5*DISTANCE(RIGHT_HIP,LEFT_HIP) /NAME_PREFIX= ;