Skip to content

Commit df2484d

Browse files
committed
Remove unused, legacy <defaults> blocks in .osim and .xml files
1 parent 20a888b commit df2484d

32 files changed

+0
-6219
lines changed

Models/Hamner/FullBodyModel_Hamner2010_v2_0.osim

Lines changed: 0 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,125 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<OpenSimDocument Version="40000">
33
<Model name="3DGaitModelwithSimpleArms">
4-
<defaults>
5-
<ControlLinear name="default">
6-
<is_model_control>true</is_model_control>
7-
<extrapolate>true</extrapolate>
8-
<default_min>-1</default_min>
9-
<default_max>1</default_max>
10-
<filter_on>false</filter_on>
11-
<use_steps>false</use_steps>
12-
<x_nodes />
13-
<min_nodes />
14-
<max_nodes />
15-
<kp>100</kp>
16-
<kv>20</kv>
17-
</ControlLinear>
18-
<CoordinateActuator name="default">
19-
<!--Name of the generalized coordinate to which the actuator applies.-->
20-
<coordinate>Unassigned</coordinate>
21-
<!--The maximum generalized force produced by this actuator.-->
22-
<optimal_force>300</optimal_force>
23-
</CoordinateActuator>
24-
<PointActuator name="default">
25-
<!--Name of Body to which this actuator is applied.-->
26-
<body></body>
27-
<!--Location of application point; in body frame unless point_is_global=true-->
28-
<point>0 0 0</point>
29-
<!--Interpret point in Ground frame if true; otherwise, body frame.-->
30-
<point_is_global>false</point_is_global>
31-
<!--Force application direction; in body frame unless force_is_global=true.-->
32-
<direction>-1 -0 -0</direction>
33-
<!--Interpret direction in Ground frame if true; otherwise, body frame.-->
34-
<force_is_global>true</force_is_global>
35-
<!--The maximum force produced by this actuator when fully activated.-->
36-
<optimal_force>1000</optimal_force>
37-
</PointActuator>
38-
<TorqueActuator name="default">
39-
<!--Name of Body to which the torque actuator is applied.-->
40-
<bodyA>Unassigned</bodyA>
41-
<!--Name of Body to which the equal and opposite torque is applied.-->
42-
<bodyB>Unassigned</bodyB>
43-
<!--Interpret axis in Ground frame if true; otherwise, body A's frame.-->
44-
<torque_is_global>true</torque_is_global>
45-
<!--Fixed direction about which torque is applied, in Ground or body A frame depending on 'torque_is_global' property.-->
46-
<axis>-1 -0 -0</axis>
47-
<!--The maximum torque produced by this actuator when fully activated.-->
48-
<optimal_force>1</optimal_force>
49-
</TorqueActuator>
50-
<Thelen2003Muscle name="default">
51-
<!--The set of points defining the path of the actuator.-->
52-
<GeometryPath>
53-
<!--The set of points defining the path-->
54-
<PathPointSet>
55-
<objects />
56-
<groups />
57-
</PathPointSet>
58-
<!--The wrap objects that are associated with this path-->
59-
<PathWrapSet>
60-
<objects />
61-
<groups />
62-
</PathWrapSet>
63-
<!--Default appearance attributes for this GeometryPath-->
64-
<Appearance>
65-
<!--The color, (red, green, blue), [0, 1], used to display the geometry. -->
66-
<color>0.80000000000000004 0.10000000000000001 0.10000000000000001</color>
67-
</Appearance>
68-
</GeometryPath>
69-
<!--Maximum isometric force that the fibers can generate-->
70-
<max_isometric_force>546</max_isometric_force>
71-
<!--Optimal length of the muscle fibers-->
72-
<optimal_fiber_length>0.053499999999999999</optimal_fiber_length>
73-
<!--Resting length of the tendon-->
74-
<tendon_slack_length>0.078</tendon_slack_length>
75-
<!--Angle between tendon and fibers at optimal fiber length expressed in radians-->
76-
<pennation_angle_at_optimal>0</pennation_angle_at_optimal>
77-
<!--tendon strain at maximum isometric muscle force-->
78-
<FmaxTendonStrain>0.033000000000000002</FmaxTendonStrain>
79-
<!--passive muscle strain at maximum isometric muscle force-->
80-
<FmaxMuscleStrain>0.59999999999999998</FmaxMuscleStrain>
81-
<!--shape factor for Gaussian active muscle force-length relationship-->
82-
<KshapeActive>0.5</KshapeActive>
83-
<!--exponential shape factor for passive force-length relationship-->
84-
<KshapePassive>4</KshapePassive>
85-
<!--force-velocity shape factor-->
86-
<Af>0.29999999999999999</Af>
87-
<!--maximum normalized lengthening force-->
88-
<Flen>1.8</Flen>
89-
<!--Activation time constant, in seconds-->
90-
<activation_time_constant>0.01</activation_time_constant>
91-
<!--Deactivation time constant, in seconds-->
92-
<deactivation_time_constant>0.040000000000000001</deactivation_time_constant>
93-
</Thelen2003Muscle>
94-
<CMC_Joint name="default">
95-
<!--Flag (true or false) indicating whether or not a task is enabled.-->
96-
<on>false</on>
97-
<!--Weight with which a task is tracked relative to other tasks. To track a task more tightly, make the weight larger.-->
98-
<weight> 1 1 1</weight>
99-
<!--Name of body frame with respect to which a tracking objective is specified. The special name 'center_of_mass' refers to the system center of mass. This property is not used for tracking joint angles.-->
100-
<wrt_body>-1</wrt_body>
101-
<!--Name of body frame in which the tracking objectives are expressed. This property is not used for tracking joint angles.-->
102-
<express_body>-1</express_body>
103-
<!--Array of 3 flags (each true or false) specifying whether a component of a task is active. For example, tracking the trajectory of a point in space could have three components (x,y,z). This allows each of those to be made active (true) or inactive (false). A task for tracking a joint coordinate only has one component.-->
104-
<active>false false false </active>
105-
<!--Position error feedback gain (stiffness). To achieve critical damping of errors, choose kv = 2*sqrt(kp).-->
106-
<kp> 1 1 1</kp>
107-
<!--Velocity error feedback gain (damping). To achieve critical damping of errors, choose kv = 2*sqrt(kp).-->
108-
<kv> 1 1 1</kv>
109-
<!--Feedforward acceleration gain. This is normally set to 1.0, so no gain.-->
110-
<ka> 1 1 1</ka>
111-
<!--Direction vector[3] for component 0 of a task. Joint tasks do not use this property.-->
112-
<r0> 0 0 0</r0>
113-
<!--Direction vector[3] for component 1 of a task. Joint tasks do not use this property.-->
114-
<r1> 0 0 0</r1>
115-
<!--Direction vector[3] for component 2 of a task. Joint tasks do not use this property.-->
116-
<r2> 0 0 0</r2>
117-
<!--Name of the coordinate to be tracked.-->
118-
<coordinate />
119-
<!--Error limit on the tracking accuracy for this coordinate. If the tracking errors approach this limit, the weighting for this coordinate is increased. -->
120-
<limit>0</limit>
121-
</CMC_Joint>
122-
</defaults>
1234
<!--The model's ground reference frame.-->
1245
<Ground name="ground">
1256
<!--The geometry used to display the axes of this Frame.-->

Pipelines/Gait2354_Simbody/forces_grf.xml

Lines changed: 0 additions & 251 deletions
Original file line numberDiff line numberDiff line change
@@ -1,257 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<OpenSimDocument Version="20302">
33
<ExternalLoads name="">
4-
<defaults>
5-
<ControlLinear name="default">
6-
<is_model_control> true </is_model_control>
7-
<extrapolate> true </extrapolate>
8-
<default_min> -1.00000000 </default_min>
9-
<default_max> 1.00000000 </default_max>
10-
<filter_on> false </filter_on>
11-
<use_steps> false </use_steps>
12-
<x_nodes/>
13-
<min_nodes/>
14-
<max_nodes/>
15-
<kp> 100.00000000 </kp>
16-
<kv> 20.00000000 </kv>
17-
</ControlLinear>
18-
<CoordinateActuator name="default">
19-
<isDisabled> false </isDisabled>
20-
<!--Minimum allowed value for control signal. Used primarily when solving
21-
for control values-->
22-
<min_control> -infinity </min_control>
23-
<!--Maximum allowed value for control signal. Used primarily when solving
24-
for control values-->
25-
<max_control> infinity </max_control>
26-
<coordinate> </coordinate>
27-
<optimal_force> 300.00000000 </optimal_force>
28-
</CoordinateActuator>
29-
<PointActuator name="default">
30-
<isDisabled> false </isDisabled>
31-
<!--Minimum allowed value for control signal. Used primarily when solving
32-
for control values-->
33-
<min_control> -infinity </min_control>
34-
<!--Maximum allowed value for control signal. Used primarily when solving
35-
for control values-->
36-
<max_control> infinity </max_control>
37-
<body> </body>
38-
<point> 0.00000000 0.00000000 0.00000000 </point>
39-
<point_is_global> false </point_is_global>
40-
<direction> -1.00000000 -0.00000000 -0.00000000 </direction>
41-
<force_is_global> true </force_is_global>
42-
<optimal_force> 1000.00000000 </optimal_force>
43-
</PointActuator>
44-
<TorqueActuator name="default">
45-
<isDisabled> false </isDisabled>
46-
<!--Minimum allowed value for control signal. Used primarily when solving
47-
for control values-->
48-
<min_control> -infinity </min_control>
49-
<!--Maximum allowed value for control signal. Used primarily when solving
50-
for control values-->
51-
<max_control> infinity </max_control>
52-
<bodyA> </bodyA>
53-
<bodyB> </bodyB>
54-
<torque_is_global> true </torque_is_global>
55-
<axis> -1.00000000 -0.00000000 -0.00000000 </axis>
56-
<optimal_force> 300.00000000 </optimal_force>
57-
</TorqueActuator>
58-
<Thelen2003Muscle name="default">
59-
<isDisabled> false </isDisabled>
60-
<!--Minimum allowed value for control signal. Used primarily when solving
61-
for control values-->
62-
<min_control> 0.00000000 </min_control>
63-
<!--Maximum allowed value for control signal. Used primarily when solving
64-
for control values-->
65-
<max_control> 1.00000000 </max_control>
66-
<GeometryPath name="">
67-
<PathPointSet name="">
68-
<objects/>
69-
<groups/>
70-
</PathPointSet>
71-
<VisibleObject name="">
72-
<!--Set of geometry files and associated attributes, allow .vtp, .stl,
73-
.obj-->
74-
<GeometrySet name="">
75-
<objects/>
76-
<groups/>
77-
</GeometrySet>
78-
<!--Three scale factors for display purposes: scaleX scaleY scaleZ-->
79-
<scale_factors> 1.00000000 1.00000000 1.00000000 </scale_factors>
80-
<!--transform relative to owner specified as 3 rotations (rad) followed by
81-
3 translations rX rY rZ tx ty tz-->
82-
<transform> -0.00000000 0.00000000 -0.00000000 0.00000000 0.00000000 0.00000000 </transform>
83-
<!--Whether to show a coordinate frame-->
84-
<show_axes> false </show_axes>
85-
<!--Display Pref. 0:Hide 1:Wire 3:Flat 4:Shaded Can be overriden for
86-
individual geometries-->
87-
<display_preference> 4 </display_preference>
88-
</VisibleObject>
89-
<PathWrapSet name="">
90-
<objects/>
91-
<groups/>
92-
</PathWrapSet>
93-
</GeometryPath>
94-
<optimal_force> 1.00000000 </optimal_force>
95-
<!--Maximum isometric force that the fibers can generate-->
96-
<max_isometric_force> 546.00000000 </max_isometric_force>
97-
<!--Optimal length of the muscle fibers-->
98-
<optimal_fiber_length> 0.05350000 </optimal_fiber_length>
99-
<!--Resting length of the tendon-->
100-
<tendon_slack_length> 0.07800000 </tendon_slack_length>
101-
<!--Angle between tendon and fibers at optimal fiber length-->
102-
<pennation_angle_at_optimal> 0.00000000 </pennation_angle_at_optimal>
103-
<!--Maximum contraction velocity of the fibers, in optimal fiberlengths
104-
per second-->
105-
<max_contraction_velocity> 10.00000000 </max_contraction_velocity>
106-
<!--time constant for ramping up of muscle activation-->
107-
<activation_time_constant> 0.01000000 </activation_time_constant>
108-
<!--time constant for ramping down of muscle activation-->
109-
<deactivation_time_constant> 0.04000000 </deactivation_time_constant>
110-
<!--maximum contraction velocity at full activation in fiber lengths per
111-
second-->
112-
<Vmax> 10.00000000 </Vmax>
113-
<!--maximum contraction velocity at low activation in fiber lengths per
114-
second-->
115-
<Vmax0> 5.00000000 </Vmax0>
116-
<!--tendon strain due to maximum isometric muscle force-->
117-
<FmaxTendonStrain> 0.03300000 </FmaxTendonStrain>
118-
<!--passive muscle strain due to maximum isometric muscle force-->
119-
<FmaxMuscleStrain> 0.60000000 </FmaxMuscleStrain>
120-
<!--shape factor for Gaussian active muscle force-length relationship-->
121-
<KshapeActive> 0.50000000 </KshapeActive>
122-
<!--exponential shape factor for passive force-length relationship-->
123-
<KshapePassive> 4.00000000 </KshapePassive>
124-
<!--passive damping in the force-velocity relationship-->
125-
<damping> 0.05000000 </damping>
126-
<!--force-velocity shape factor-->
127-
<Af> 0.30000000 </Af>
128-
<!--maximum normalized lengthening force-->
129-
<Flen> 1.80000000 </Flen>
130-
</Thelen2003Muscle>
131-
<Schutte1993Muscle name="default">
132-
<isDisabled> false </isDisabled>
133-
<!--Minimum allowed value for control signal. Used primarily when solving
134-
for control values-->
135-
<min_control> 0.00000000 </min_control>
136-
<!--Maximum allowed value for control signal. Used primarily when solving
137-
for control values-->
138-
<max_control> 1.00000000 </max_control>
139-
<GeometryPath name="">
140-
<PathPointSet name="">
141-
<objects/>
142-
<groups/>
143-
</PathPointSet>
144-
<VisibleObject name="">
145-
<!--Set of geometry files and associated attributes, allow .vtp, .stl,
146-
.obj-->
147-
<GeometrySet name="">
148-
<objects/>
149-
<groups/>
150-
</GeometrySet>
151-
<!--Three scale factors for display purposes: scaleX scaleY scaleZ-->
152-
<scale_factors> 1.00000000 1.00000000 1.00000000 </scale_factors>
153-
<!--transform relative to owner specified as 3 rotations (rad) followed by
154-
3 translations rX rY rZ tx ty tz-->
155-
<transform> -0.00000000 0.00000000 -0.00000000 0.00000000 0.00000000 0.00000000 </transform>
156-
<!--Whether to show a coordinate frame-->
157-
<show_axes> false </show_axes>
158-
<!--Display Pref. 0:Hide 1:Wire 3:Flat 4:Shaded Can be overriden for
159-
individual geometries-->
160-
<display_preference> 4 </display_preference>
161-
</VisibleObject>
162-
<PathWrapSet name="">
163-
<objects/>
164-
<groups/>
165-
</PathWrapSet>
166-
</GeometryPath>
167-
<optimal_force> 1.00000000 </optimal_force>
168-
<!--Maximum isometric force that the fibers can generate-->
169-
<max_isometric_force> 0.00000000 </max_isometric_force>
170-
<!--Optimal length of the muscle fibers-->
171-
<optimal_fiber_length> 0.00000000 </optimal_fiber_length>
172-
<!--Resting length of the tendon-->
173-
<tendon_slack_length> 0.00000000 </tendon_slack_length>
174-
<!--Angle between tendon and fibers at optimal fiber length-->
175-
<pennation_angle_at_optimal> 0.00000000 </pennation_angle_at_optimal>
176-
<!--Maximum contraction velocity of the fibers, in optimal fiberlengths
177-
per second-->
178-
<max_contraction_velocity> 10.00000000 </max_contraction_velocity>
179-
<!--Scale factor for normalizing time-->
180-
<time_scale> 0.10000000 </time_scale>
181-
<!--Parameter used in time constant of ramping up of muscle force-->
182-
<activation1> 0.00000000 </activation1>
183-
<!--Parameter used in time constant of ramping up and ramping down of
184-
muscle force-->
185-
<activation2> 0.00000000 </activation2>
186-
<!--Damping factor related to maximum contraction velocity-->
187-
<damping> 0.05000000 </damping>
188-
<!--Function representing force-length behavior of tendon-->
189-
<tendon_force_length_curve>
190-
<NaturalCubicSpline name="">
191-
<x> -10.00000000 -0.00200000 -0.00100000 0.00000000 0.00131000 0.00281000 0.00431000 0.00581000 0.00731000 0.00881000 0.01030000 0.01180000 0.01230000 9.20000000 9.20100000 9.20200000 20.00000000 </x>
192-
<y> 0.00000000 0.00000000 0.00000000 0.00000000 0.01080000 0.02570000 0.04350000 0.06520000 0.09150000 0.12300000 0.16100000 0.20800000 0.22700000 345.00000000 345.00000000 345.00000000 345.00000000 </y>
193-
</NaturalCubicSpline>
194-
</tendon_force_length_curve>
195-
<!--Function representing active force-length behavior of muscle fibers-->
196-
<active_force_length_curve>
197-
<NaturalCubicSpline name="">
198-
<x> -5.30769200 -4.30769200 -1.92307700 -0.88461500 -0.26923100 0.23076900 0.46153800 0.52725000 0.62875000 0.71875000 0.86125000 1.04500000 1.21750000 1.43875000 1.50000000 1.61538500 2.00000000 2.96153800 3.69230800 5.46153800 9.90190200 </x>
199-
<y> 0.01218800 0.02189900 0.03646600 0.05249300 0.07531200 0.11415800 0.15785900 0.22666700 0.63666700 0.85666700 0.95000000 0.99333300 0.77000000 0.24666700 0.19382100 0.13325200 0.07268300 0.04441700 0.03634100 0.02189900 0.00733200 </y>
200-
</NaturalCubicSpline>
201-
</active_force_length_curve>
202-
<!--Function representing passive force-length behavior of muscle fibers-->
203-
<passive_force_length_curve>
204-
<NaturalCubicSpline name="">
205-
<x> -5.00000000 0.99800000 0.99900000 1.00000000 1.10000000 1.20000000 1.30000000 1.40000000 1.50000000 1.60000000 1.60100000 1.60200000 5.00000000 </x>
206-
<y> 0.00000000 0.00000000 0.00000000 0.00000000 0.03500000 0.12000000 0.26000000 0.55000000 1.17000000 2.00000000 2.00000000 2.00000000 2.00000000 </y>
207-
</NaturalCubicSpline>
208-
</passive_force_length_curve>
209-
</Schutte1993Muscle>
210-
<CMC_Joint name="default">
211-
<!--Flag (true or false) indicating whether or not a task is enabled.-->
212-
<on> false </on>
213-
<!--Weight with which a task is tracked relative to other tasks. To track
214-
a task more tightly, make the weight larger.-->
215-
<weight> 1.00000000 1.00000000 1.00000000 </weight>
216-
<!--Name of body frame with respect to which a tracking objective is
217-
specified. The special name 'center_of_mass' refers to the system
218-
center of mass. This property is not used for tracking joint angles.-->
219-
<wrt_body> -1 </wrt_body>
220-
<!--Name of body frame in which the tracking objectives are expressed.
221-
This property is not used for tracking joint angles.-->
222-
<express_body> -1 </express_body>
223-
<!--Array of 3 flags (each true or false) specifying whether a component
224-
of a task is active. For example, tracking the trajectory of a point
225-
in space could have three components (x,y,z). This allows each of
226-
those to be made active (true) or inactive (false). A task for
227-
tracking a joint coordinate only has one component.-->
228-
<active> false false false </active>
229-
<!--Position error feedback gain (stiffness). To achieve critical damping
230-
of errors, choose kv = 2*sqrt(kp).-->
231-
<kp> 1.00000000 1.00000000 1.00000000 </kp>
232-
<!--Velocity error feedback gain (damping). To achieve critical damping of
233-
errors, choose kv = 2*sqrt(kp).-->
234-
<kv> 1.00000000 1.00000000 1.00000000 </kv>
235-
<!--Feedforward acceleration gain. This is normally set to 1.0, so no
236-
gain.-->
237-
<ka> 1.00000000 1.00000000 1.00000000 </ka>
238-
<!--Direction vector[3] for component 0 of a task. Joint tasks do not use
239-
this propery.-->
240-
<r0> 0.00000000 0.00000000 0.00000000 </r0>
241-
<!--Direction vector[3] for component 1 of a task. Joint tasks do not use
242-
this property.-->
243-
<r1> 0.00000000 0.00000000 0.00000000 </r1>
244-
<!--Direction vector[3] for component 2 of a task. Joint tasks do not use
245-
this property.-->
246-
<r2> 0.00000000 0.00000000 0.00000000 </r2>
247-
<!--Name of the coordinate to be tracked.-->
248-
<coordinate> </coordinate>
249-
<!--Error limit on the tracking accuracy for this coordinate. If the
250-
tracking errors approach this limit, the weighting for this coordinate
251-
is increased.-->
252-
<limit> 0.00000000 </limit>
253-
</CMC_Joint>
254-
</defaults>
2554
<objects>
2565
<ExternalForce name="Right">
2576
<isDisabled> false </isDisabled>

0 commit comments

Comments
 (0)