optStoppingCriterion 0.0001 retainExtraMarkers 0 /******************************************************************************* Transformation matrix for redefining the kinematic coordinate system if so desired 1st row are the measured x, y and z components corresponding to the output X direction 2nd row are the measured x, y and z components corresponding to the output Y direction 3rd row are the measured x, y and z components corresponding to the output Z direction *******************************************************************************/ begintransformationmatrix 1.0 0.0 0.0 0.0 0.0 1.0 0.0 -1.0 0.0 endtransformationmatrix /******************************************************************************* Flag to denote whether the data represents an upright calibration trial (1=YES, 0=NO) *******************************************************************************/ uprighttrial 1 /******************************************************************************* Flag to denote whether the user wishes to reset the anatomical marker locations after calibrating to the upright calibration trial (1=YES, 0=NO) *******************************************************************************/ resetanatomicalmarkers 1 /******************************************************************************* Anatomical moarkers are used in computing the generalized coordinates for an upright static calibration trial. These markers should exist in both the joint file and the trc file. Note that the local coordinates of these markers are reset after the upright joint angles are computed. This ensures that the model and measured marker locations coincide for the calibration data. *******************************************************************************/ beginanatomicalmarkers R_HJC 100.0 L_HJC 100.0 R.ASIS 15. S2 10. L.ASIS 15. R.PSIS 10. L.PSIS 10. R.Shoulder 1.0 R.Elbow 1.0 R.MElbow 1.0 R.Wrist 1.0 L.Shoulder 1.0 L.Elbow 1.0 L.MElbow 1.0 L.Wrist 1.0 R.Knee 5.0 R.MKnee 1.0 R.MAnkle 1.0 R.Ankle 5.0 R.Heel 1.0 R.MT5 1.0 R.MT1 1.0 L.Knee 5.0 L.MKnee 1.0 L.Ankle 5.0 L.MAnkle 1.0 L.Heel 1.0 L.MT5 1.0 L.MT1 1.0 Crank1 1.0 0 Crank2 1.0 0 Crank3 1.0 0 Crank4 1.0 0 endanatomicalmarkers /* Seat1 1.0 0 Seat2 1.0 0 Seat3 1.0 0 Seat4 1.0 0 */ /******************************************************************************* Tracking markers are NOT used in computing the generalized coordinates for an upright static calibration trial. These markers should exist in both the joint file and the trc file. Note that the local coordinates of these markers are determined after the upright joint angles are computed. This ensures that the model and measured trackingmarker locations coincide for the calibration data. *******************************************************************************/ begintrackingmarkers R.Trochanter 0.0 L.Trochanter 0.0 R.GreatTroch 0.0 L.GreatTroch 0.0 R.Iliac 0.0 L.Iliac 0.0 R.Clavicle 0.0 R.Bicep 0.0 R.Forearm 0.0 L.Clavicle 0.0 L.Scapula 0.0 L.Bicep 0.0 L.Forearm 0.0 R.TH1 0.0 R.TH2 0.0 R.TH3 0.0 R.SH1 0.0 R.SH2 0.0 R.SH3 0.0 R.SH4 0.0 L.TH1 0.0 L.TH2 0.0 L.TH3 0.0 L.TH4 0.0 L.SH1 0.0 L.SH2 0.0 L.SH3 0.0 endtrackingmarkers /******************************************************************************* Segment scaling markers are used to compute segment lengths The avg distance between each pair of markers following a segment is computed This ratio of this distance to the distance between skeleton fixed markers is then computed The avg ratio for a segment is used as the segment scaling factor in the segment's x, y and z directions One can specify separate scaling rules for different directions by using the _x, _y or _z designations, e.g. pelvis_z R_HJC L_HJC *******************************************************************************/ beginsegmentscalemarkers pelvis_x R_HJC R.Knee L_HJC L.Knee pelvis_y R_HJC R.Knee L_HJC L.Knee pelvis_z R_HJC L_HJC femur_r R_HJC R.Knee L_HJC L.Knee femur_l R_HJC R.Knee L_HJC L.Knee patella_r R_HJC R.Knee L_HJC L.Knee patella_l R_HJC R.Knee L_HJC L.Knee tibia_r R.Knee R.Ankle L.Knee L.Ankle tibia_l R.Knee R.Ankle L.Knee L.Ankle talus_r R.Knee R.Ankle L.Knee L.Ankle talus_l R.Knee R.Ankle L.Knee L.Ankle foot_r R_HJC R.Knee L_HJC L.Knee R.Knee R.Ankle L.Knee L.Ankle foot_l R_HJC R.Knee L_HJC L.Knee R.Knee R.Ankle L.Knee L.Ankle toes_r R_HJC R.Knee L_HJC L.Knee R.Knee R.Ankle L.Knee L.Ankle toes_l R_HJC R.Knee L_HJC L.Knee R.Knee R.Ankle L.Knee L.Ankle endsegmentscalemarkers /******************************************************************************* Can reset the gencoord range that will restrict the solutions of the optimization based inverse dynamics routine *******************************************************************************/ begingencoordrange crank_tx -5.0 5.0 crank_ty -5.0 5.0 crank_tz -5.0 5.0 crank_rx -179 180 crank_ry -179 180 crank_angle -8000 8000 pelvis_tx -5.0 5.0 pelvis_ty -5.0 5.0 pelvis_tz -5.0 5.0 pelvis_list -60.0 60.0 pelvis_rot -120.0 120.0 pelvis_tilt -60.0 60.0 hip_flex_r -60.0 150.0 hip_add_r -60.0 60.0 hip_rot_r -60.0 60.0 knee_flex_r -2.5 160.0 ankle_flex_r -60.0 60.0 subt_angle_r -0.001 0.001 toe_angle_r -0.001 0.001 hip_flex_l -60.0 150.0 hip_add_l -60.0 60.0 hip_rot_l -60.0 60.0 knee_flex_l -2.5 160.0 ankle_flex_l -60.0 60.0 subt_angle_l -0.001 0.001 toe_angle_l -0.001 0.001 pedal_angle_r -8000 8000 pedal_angle_l -8000 8000 pedal_tx_r -5.0 5.0 pedal_ty_r -5.0 5.0 pedal_tz_r -5.0 5.0 pedal_rx_r -50.0 50.0 pedal_ry_r -50.0 50.0 pedal_tx_l -5.0 5.0 pedal_ty_l -5.0 5.0 pedal_tz_l -5.0 5.0 pedal_rx_l -50.0 50.0 pedal_ry_l -50.0 50.0 endgencoordrange /* saddle_tx -5.0 5.0 saddle_ty -5.0 5.0 saddle_tz -5.0 5.0 saddle_rx -179 180 saddle_ry -179 180 saddle_rz -179 180 */ /* begin6dofsegment saddle txyz saddle_tx saddle_ty saddle_tz rang saddle_rz saddle_rx saddle_ry rotorder 312 beginmarkers Seat1 Seat2 Seat3 Seat4 endmarkers end6dofsegment */