|
1 | 1 | <?xml version="1.0" encoding="UTF-8" ?>
|
2 |
| -<OpenSimDocument Version="20201"> |
3 |
| - <ExternalLoads name=""> |
| 2 | +<OpenSimDocument Version="40000"> |
| 3 | + <ExternalLoads name="default"> |
4 | 4 | <objects>
|
5 |
| - <PrescribedForce name="RightForce"> |
| 5 | + <ExternalForce name="RightForce"> |
6 | 6 | <!--Name of the body the force is applied to.-->
|
7 |
| - <body>calcn_r</body> |
8 |
| - <!--Flag indicating whether the point (specified in pointFunctions) is in |
9 |
| - global frame--> |
10 |
| - <pointIsGlobal>false</pointIsGlobal> |
11 |
| - <!--Flag indicating whether the quantities (specified in |
12 |
| - force/torqueFunctions) is in global frame--> |
13 |
| - <forceIsGlobal>true</forceIsGlobal> |
14 |
| - <!--Three functions describing the force to be applied.--> |
15 |
| - <FunctionSet name="forceFunctions"> |
16 |
| - <objects> |
17 |
| - <NaturalCubicSpline name="ground_force_vx" /> |
18 |
| - <NaturalCubicSpline name="ground_force_vy" /> |
19 |
| - <NaturalCubicSpline name="ground_force_vz" /> |
20 |
| - </objects> |
21 |
| - <groups /> |
22 |
| - </FunctionSet> |
23 |
| - <!--Three functions describing the location at which the force is applied--> |
24 |
| - <FunctionSet name="pointFunctions"> |
25 |
| - <objects> |
26 |
| - <NaturalCubicSpline name="ground_force_px" /> |
27 |
| - <NaturalCubicSpline name="ground_force_py" /> |
28 |
| - <NaturalCubicSpline name="ground_force_pz" /> |
29 |
| - </objects> |
30 |
| - <groups /> |
31 |
| - </FunctionSet> |
32 |
| - <!--Three functions describing the torque the PrescribedForce applies--> |
33 |
| - <FunctionSet name="torqueFunctions"> |
34 |
| - <objects> |
35 |
| - <NaturalCubicSpline name="ground_torque_x" /> |
36 |
| - <NaturalCubicSpline name="ground_torque_y" /> |
37 |
| - <NaturalCubicSpline name="ground_torque_z" /> |
38 |
| - </objects> |
39 |
| - <groups /> |
40 |
| - </FunctionSet> |
41 |
| - </PrescribedForce> |
42 |
| - <PrescribedForce name="LeftForce"> |
| 7 | + <applied_to_body>calcn_r</applied_to_body> |
| 8 | + <!--Name of the body the force is expressed in (default is ground).--> |
| 9 | + <force_expressed_in_body>ground</force_expressed_in_body> |
| 10 | + <!--Name of the body the point is expressed in (default is ground).--> |
| 11 | + <point_expressed_in_body>ground</point_expressed_in_body> |
| 12 | + <!--Identifier (string) to locate the force to be applied in the data source.--> |
| 13 | + <force_identifier>ground_force_v</force_identifier> |
| 14 | + <!--Identifier (string) to locate the point to be applied in the data source.--> |
| 15 | + <point_identifier>ground_force_p</point_identifier> |
| 16 | + <!--Identifier (string) to locate the torque to be applied in the data source.--> |
| 17 | + <torque_identifier>ground_torque_</torque_identifier> |
| 18 | + </ExternalForce> |
| 19 | + <ExternalForce name="LeftForce"> |
43 | 20 | <!--Name of the body the force is applied to.-->
|
44 |
| - <body>calcn_l</body> |
45 |
| - <!--Flag indicating whether the point (specified in pointFunctions) is in |
46 |
| - global frame--> |
47 |
| - <pointIsGlobal>false</pointIsGlobal> |
48 |
| - <!--Flag indicating whether the quantities (specified in |
49 |
| - force/torqueFunctions) is in global frame--> |
50 |
| - <forceIsGlobal>true</forceIsGlobal> |
51 |
| - <!--Three functions describing the force to be applied.--> |
52 |
| - <FunctionSet name="forceFunctions"> |
53 |
| - <objects> |
54 |
| - <NaturalCubicSpline name="l_ground_force_vx" /> |
55 |
| - <NaturalCubicSpline name="l_ground_force_vy" /> |
56 |
| - <NaturalCubicSpline name="l_ground_force_vz" /> |
57 |
| - </objects> |
58 |
| - <groups /> |
59 |
| - </FunctionSet> |
60 |
| - <!--Three functions describing the location at which the force is applied--> |
61 |
| - <FunctionSet name="pointFunctions"> |
62 |
| - <objects> |
63 |
| - <NaturalCubicSpline name="l_ground_force_px" /> |
64 |
| - <NaturalCubicSpline name="l_ground_force_py" /> |
65 |
| - <NaturalCubicSpline name="l_ground_force_pz" /> |
66 |
| - </objects> |
67 |
| - <groups /> |
68 |
| - </FunctionSet> |
69 |
| - <!--Three functions describing the torque the PrescribedForce applies--> |
70 |
| - <FunctionSet name="torqueFunctions"> |
71 |
| - <objects> |
72 |
| - <NaturalCubicSpline name="l_ground_torque_x" /> |
73 |
| - <NaturalCubicSpline name="l_ground_torque_y" /> |
74 |
| - <NaturalCubicSpline name="l_ground_torque_z" /> |
75 |
| - </objects> |
76 |
| - <groups /> |
77 |
| - </FunctionSet> |
78 |
| - </PrescribedForce> |
| 21 | + <applied_to_body>calcn_l</applied_to_body> |
| 22 | + <!--Name of the body the force is expressed in (default is ground).--> |
| 23 | + <force_expressed_in_body>ground</force_expressed_in_body> |
| 24 | + <!--Name of the body the point is expressed in (default is ground).--> |
| 25 | + <point_expressed_in_body>ground</point_expressed_in_body> |
| 26 | + <!--Identifier (string) to locate the force to be applied in the data source.--> |
| 27 | + <force_identifier>l_ground_force_v</force_identifier> |
| 28 | + <!--Identifier (string) to locate the point to be applied in the data source.--> |
| 29 | + <point_identifier>l_ground_force_p</point_identifier> |
| 30 | + <!--Identifier (string) to locate the torque to be applied in the data source.--> |
| 31 | + <torque_identifier>l_ground_torque_</torque_identifier> |
| 32 | + </ExternalForce> |
79 | 33 | </objects>
|
80 |
| - <!--Storage file (.sto) containing the Forces, Torques and locations of |
81 |
| - the external loads.--> |
| 34 | + <groups /> |
| 35 | + <!--Storage file (.sto) containing (3) components of force and/or torque and point of application.Note: this file overrides the data source specified by the individual external forces if specified.--> |
82 | 36 | <datafile>subject01_walk1_grf.mot</datafile>
|
83 |
| - <!--Motion file (.mot) or storage file (.sto) containing the model |
84 |
| - kinematics corresponding to the external loads.--> |
85 |
| - <external_loads_model_kinematics_file>subject01_walk1_ik.mot</external_loads_model_kinematics_file> |
86 |
| - <!--Low-pass cut-off frequency for filtering the model kinematics |
87 |
| - corresponding to the external loads. A negative value results in no |
88 |
| - filtering. The default value is -1.0, so no filtering.--> |
89 |
| - <lowpass_cutoff_frequency_for_load_kinematics>6</lowpass_cutoff_frequency_for_load_kinematics> |
90 | 37 | </ExternalLoads>
|
91 | 38 | </OpenSimDocument>
|
0 commit comments