Skip to content

Commit 81013c4

Browse files
committed
Remove unused, legacy <default> blocks in .osim and .xml files
1 parent 9f48d9e commit 81013c4

22 files changed

+0
-555
lines changed

Models/Rajagopal/Rajagopal2016.osim

Lines changed: 0 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -1,135 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<OpenSimDocument Version="40000">
33
<Model name="Rajagopal2016">
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-
<!--Flag indicating whether the force is applied or not. If true the forceis applied to the MultibodySystem otherwise the force is not applied.NOTE: Prior to OpenSim 4.0, this behavior was controlled by the 'isDisabled' property, where 'true' meant that force was not being applied. Thus, if 'isDisabled' is true, then 'appliesForce` is false.-->
20-
<appliesForce>true</appliesForce>
21-
<!--Minimum allowed value for control signal. Used primarily when solving for control values.-->
22-
<min_control>-Inf</min_control>
23-
<!--Maximum allowed value for control signal. Used primarily when solving for control values.-->
24-
<max_control>Inf</max_control>
25-
<!--Name of the generalized coordinate to which the actuator applies.-->
26-
<coordinate>Unassigned</coordinate>
27-
<!--The maximum generalized force produced by this actuator.-->
28-
<optimal_force>300</optimal_force>
29-
</CoordinateActuator>
30-
<PointActuator name="default">
31-
<!--Flag indicating whether the force is applied or not. If true the forceis applied to the MultibodySystem otherwise the force is not applied.NOTE: Prior to OpenSim 4.0, this behavior was controlled by the 'isDisabled' property, where 'true' meant that force was not being applied. Thus, if 'isDisabled' is true, then 'appliesForce` is false.-->
32-
<appliesForce>true</appliesForce>
33-
<!--Minimum allowed value for control signal. Used primarily when solving for control values.-->
34-
<min_control>-Inf</min_control>
35-
<!--Maximum allowed value for control signal. Used primarily when solving for control values.-->
36-
<max_control>Inf</max_control>
37-
<!--Name of Body to which this actuator is applied.-->
38-
<body></body>
39-
<!--Location of application point; in body frame unless point_is_global=true-->
40-
<point>0 0 0</point>
41-
<!--Interpret point in Ground frame if true; otherwise, body frame.-->
42-
<point_is_global>false</point_is_global>
43-
<!--Force application direction; in body frame unless force_is_global=true.-->
44-
<direction>-1 -0 -0</direction>
45-
<!--Interpret direction in Ground frame if true; otherwise, body frame.-->
46-
<force_is_global>true</force_is_global>
47-
<!--The maximum force produced by this actuator when fully activated.-->
48-
<optimal_force>1000</optimal_force>
49-
</PointActuator>
50-
<TorqueActuator name="default">
51-
<!--Flag indicating whether the force is applied or not. If true the forceis applied to the MultibodySystem otherwise the force is not applied.NOTE: Prior to OpenSim 4.0, this behavior was controlled by the 'isDisabled' property, where 'true' meant that force was not being applied. Thus, if 'isDisabled' is true, then 'appliesForce` is false.-->
52-
<appliesForce>true</appliesForce>
53-
<!--Minimum allowed value for control signal. Used primarily when solving for control values.-->
54-
<min_control>-Inf</min_control>
55-
<!--Maximum allowed value for control signal. Used primarily when solving for control values.-->
56-
<max_control>Inf</max_control>
57-
<!--Name of Body to which the torque actuator is applied.-->
58-
<bodyA>Unassigned</bodyA>
59-
<!--Name of Body to which the equal and opposite torque is applied.-->
60-
<bodyB>Unassigned</bodyB>
61-
<!--Interpret axis in Ground frame if true; otherwise, body A's frame.-->
62-
<torque_is_global>true</torque_is_global>
63-
<!--Fixed direction about which torque is applied, in Ground or body A frame depending on 'torque_is_global' property.-->
64-
<axis>-1 -0 -0</axis>
65-
<!--The maximum torque produced by this actuator when fully activated.-->
66-
<optimal_force>1</optimal_force>
67-
</TorqueActuator>
68-
<Millard2012EquilibriumMuscle name="default">
69-
<!--Flag indicating whether the force is applied or not. If true the forceis applied to the MultibodySystem otherwise the force is not applied.NOTE: Prior to OpenSim 4.0, this behavior was controlled by the 'isDisabled' property, where 'true' meant that force was not being applied. Thus, if 'isDisabled' is true, then 'appliesForce` is false.-->
70-
<appliesForce>true</appliesForce>
71-
<!--Minimum allowed value for control signal. Used primarily when solving for control values.-->
72-
<min_control>0.01</min_control>
73-
<!--The set of points defining the path of the actuator.-->
74-
<GeometryPath name="geometrypath">
75-
<!--The set of points defining the path-->
76-
<PathPointSet>
77-
<objects />
78-
<groups />
79-
</PathPointSet>
80-
<!--The wrap objects that are associated with this path-->
81-
<PathWrapSet>
82-
<objects />
83-
<groups />
84-
</PathWrapSet>
85-
<!--Default appearance attributes for this GeometryPath-->
86-
<Appearance>
87-
<!--The color, (red, green, blue), [0, 1], used to display the geometry. -->
88-
<color>0.80000000000000004 0.10000000000000001 0.10000000000000001</color>
89-
</Appearance>
90-
</GeometryPath>
91-
<!--The maximum force this actuator can produce.-->
92-
<optimal_force>1</optimal_force>
93-
<!--Maximum isometric force that the fibers can generate-->
94-
<max_isometric_force>546</max_isometric_force>
95-
<!--Optimal length of the muscle fibers-->
96-
<optimal_fiber_length>0.053499999999999999</optimal_fiber_length>
97-
<!--Resting length of the tendon-->
98-
<tendon_slack_length>0.078</tendon_slack_length>
99-
<!--Angle between tendon and fibers at optimal fiber length expressed in radians-->
100-
<pennation_angle_at_optimal>0</pennation_angle_at_optimal>
101-
<!--Maximum contraction velocity of the fibers, in optimal fiberlengths/second-->
102-
<max_contraction_velocity>10</max_contraction_velocity>
103-
</Millard2012EquilibriumMuscle>
104-
<CMC_Joint name="default">
105-
<!--Flag (true or false) indicating whether or not a task is enabled.-->
106-
<on>false</on>
107-
<!--Weight with which a task is tracked relative to other tasks. To track a task more tightly, make the weight larger.-->
108-
<weight> 1 1 1</weight>
109-
<!--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.-->
110-
<wrt_body>-1</wrt_body>
111-
<!--Name of body frame in which the tracking objectives are expressed. This property is not used for tracking joint angles.-->
112-
<express_body>-1</express_body>
113-
<!--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.-->
114-
<active>false false false </active>
115-
<!--Position error feedback gain (stiffness). To achieve critical damping of errors, choose kv = 2*sqrt(kp).-->
116-
<kp> 1 1 1</kp>
117-
<!--Velocity error feedback gain (damping). To achieve critical damping of errors, choose kv = 2*sqrt(kp).-->
118-
<kv> 1 1 1</kv>
119-
<!--Feedforward acceleration gain. This is normally set to 1.0, so no gain.-->
120-
<ka> 1 1 1</ka>
121-
<!--Direction vector[3] for component 0 of a task. Joint tasks do not use this property.-->
122-
<r0> 0 0 0</r0>
123-
<!--Direction vector[3] for component 1 of a task. Joint tasks do not use this property.-->
124-
<r1> 0 0 0</r1>
125-
<!--Direction vector[3] for component 2 of a task. Joint tasks do not use this property.-->
126-
<r2> 0 0 0</r2>
127-
<!--Name of the coordinate to be tracked.-->
128-
<coordinate />
129-
<!--Error limit on the tracking accuracy for this coordinate. If the tracking errors approach this limit, the weighting for this coordinate is increased. -->
130-
<limit>0</limit>
131-
</CMC_Joint>
132-
</defaults>
1334
<!--The model's ground reference frame.-->
1345
<Ground name="ground">
1356
<!--The geometry used to display the axes of this Frame.-->

Pipelines/Gait2354_Simbody/gait2354_CMC_Actuators.xml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<OpenSimDocument Version="30000">
33
<ForceSet name="gait2354_CMC">
4-
<defaults>
5-
<CoordinateActuator name="default">
6-
<!--Flag indicating whether the force is disabled or not. Disabled means that the force is not active in subsequent dynamics realizations.-->
7-
<isDisabled>false</isDisabled>
8-
<!--Minimum allowed value for control signal. Used primarily when solving for control values.-->
9-
<min_control>-infinity</min_control>
10-
<!--Maximum allowed value for control signal. Used primarily when solving for control values.-->
11-
<max_control>infinity</max_control>
12-
<!--Name of the generalized coordinate to which the actuator applies.-->
13-
<coordinate></coordinate>
14-
<!--The maximum generalized force produced by this actuator.-->
15-
<optimal_force>1000</optimal_force>
16-
</CoordinateActuator>
17-
</defaults>
184
<objects>
195
<PointActuator name="FX">
206
<!--Flag indicating whether the force is disabled or not. Disabled means that the force is not active in subsequent dynamics realizations.-->

Pipelines/Gait2354_Simbody/gait2354_CMC_ControlConstraints.xml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<OpenSimDocument Version="20302">
33
<ControlSet name="Control Set">
4-
<defaults>
5-
<ControlLinear name="default">
6-
<is_model_control> true </is_model_control>
7-
<extrapolate> true </extrapolate>
8-
<default_min> 0.02000000 </default_min>
9-
<default_max> 1.00000000 </default_max>
10-
<filter_on> false </filter_on>
11-
<use_steps> true </use_steps>
12-
<x_nodes/>
13-
<min_nodes/>
14-
<max_nodes/>
15-
<kp> 100.00000000 </kp>
16-
<kv> 20.00000000 </kv>
17-
</ControlLinear>
18-
</defaults>
194
<objects>
205
<ControlLinear name="glut_med1_r.excitation">
216
<is_model_control> true </is_model_control>

Pipelines/Gait2354_Simbody/gait2354_CMC_Tasks.xml

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<OpenSimDocument Version="20302">
33
<CMC_TaskSet name="gait2354_CMC">
4-
<defaults>
5-
<CMC_Joint name="default">
6-
<!--Flag (true or false) indicating whether or not a task is on.-->
7-
<on> false </on>
8-
<!--Weight with which a task is tracked relative to other tasks. To track
9-
a task more tightly, make the weight larger.-->
10-
<weight> 1.00000000 1.00000000 1.00000000 </weight>
11-
<!--Name of body frame with respect to which a tracking objective is
12-
specified. The special name 'center_of_mass' refers to the system
13-
center of mass. This property is not used for tracking joint angles.-->
14-
<wrt_body> -1 </wrt_body>
15-
<!--Name of body frame in which the tracking objectives are expressed.
16-
This property is not used for tracking joint angles.-->
17-
<express_body> -1 </express_body>
18-
<!--Array of 3 flags (each true or false) specifying whether a component
19-
of a task is active. For example, tracking the trajectory of a point
20-
in space could have three components (x,y,z). This allows each of
21-
those to be made active (true) or inactive (false). A task for
22-
tracking a joint coordinate only has one component.-->
23-
<active> false false false </active>
24-
<!--Position error feedback gain (stiffness). To achieve critical damping
25-
of errors, choose kv = 2*sqrt(kp).-->
26-
<kp> 1.00000000 1.00000000 1.00000000 </kp>
27-
<!--Velocity error feedback gain (damping). To achieve critical damping of
28-
errors, choose kv = 2*sqrt(kp).-->
29-
<kv> 1.00000000 1.00000000 1.00000000 </kv>
30-
<!--Feedforward acceleration gain. This is normally set to 1.0, so no
31-
gain.-->
32-
<ka> 1.00000000 1.00000000 1.00000000 </ka>
33-
<!--Direction vector[3] for component 0 of a task. Joint tasks do not use
34-
this propery.-->
35-
<r0> 0.00000000 0.00000000 0.00000000 </r0>
36-
<!--Direction vector[3] for component 1 of a task. Joint tasks do not use
37-
this property.-->
38-
<r1> 0.00000000 0.00000000 0.00000000 </r1>
39-
<!--Direction vector[3] for component 2 of a task. Joint tasks do not use
40-
this property.-->
41-
<r2> 0.00000000 0.00000000 0.00000000 </r2>
42-
<!--Name of the coordinate to be tracked.-->
43-
<coordinate> </coordinate>
44-
<!--Error limit on the tracking accuracy for this coordinate. If the
45-
tracking errors approach this limit, the weighting for this coordinate
46-
is increased.-->
47-
<limit> 0.00000000 </limit>
48-
</CMC_Joint>
49-
</defaults>
504
<objects>
515
<CMC_Joint name="pelvis_tz">
526
<!--Flag (true or false) indicating whether or not a task is on.-->

Pipelines/Gait2392_Simbody/gait2392_CMC_ControlConstraints.xml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<OpenSimDocument Version="20302">
33
<ControlSet name="Control Set">
4-
<defaults>
5-
<ControlLinear name="default">
6-
<is_model_control> true </is_model_control>
7-
<extrapolate> true </extrapolate>
8-
<default_min> 0.02000000 </default_min>
9-
<default_max> 1.00000000 </default_max>
10-
<filter_on> false </filter_on>
11-
<use_steps> true </use_steps>
12-
<x_nodes/>
13-
<min_nodes/>
14-
<max_nodes/>
15-
<kp> 100.00000000 </kp>
16-
<kv> 20.00000000 </kv>
17-
</ControlLinear>
18-
</defaults>
194
<objects>
205
<ControlLinear name="FX.excitation">
216
<is_model_control> true </is_model_control>

Pipelines/Hamner/Actuators_CMC.xml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<ActuatorSet name="gait2392_CMC">
33

4-
<defaults>
5-
6-
<Force name="default">
7-
<max_force> 10000.000 </max_force>
8-
<min_force> -10000.000 </min_force>
9-
<optimal_force> 1000.0 </optimal_force>
10-
<body_A> </body_A>
11-
<point_A> 0.000 0.000 0.000 </point_A>
12-
<direction_A> 1.000 0.000 0.000 </direction_A>
13-
<body_B> </body_B>
14-
<point_B> 0.000 0.000 0.000 </point_B>
15-
</Force>
16-
17-
<Torque name="default">
18-
<max_force> 10000.000 </max_force>
19-
<min_force> -10000.000 </min_force>
20-
<optimal_force> 1000.0 </optimal_force>
21-
<body_A> </body_A>
22-
<direction_A> 1.000 0.000 0.000 </direction_A>
23-
<body_B> </body_B>
24-
</Torque>
25-
26-
<GeneralizedForce name="default">
27-
<max_force> 10000.0 </max_force>
28-
<min_force> -10000.0 </min_force>
29-
<optimal_force> 1000.0 </optimal_force>
30-
<coordinate> </coordinate>
31-
</GeneralizedForce>
32-
33-
</defaults>
344

355
<objects>
366

Pipelines/Hamner/Actuators_RRA.xml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<ActuatorSet name="gait2392_RRA">
33

4-
<defaults>
5-
6-
<Force name="default">
7-
<max_force> 10000.000 </max_force>
8-
<min_force> -10000.000 </min_force>
9-
<optimal_force> 1000.00000000 </optimal_force>
10-
<body_A> </body_A>
11-
<point_A> 0.000 0.000 0.000 </point_A>
12-
<direction_A> 1.000 0.000 0.000 </direction_A>
13-
<body_B> </body_B>
14-
<point_B> 0.000 0.000 0.000 </point_B>
15-
</Force>
16-
17-
<Torque name="default">
18-
<max_force> 1000.000 </max_force>
19-
<min_force> -1000.000 </min_force>
20-
<optimal_force> 300.00000000 </optimal_force>
21-
<body_A> </body_A>
22-
<direction_A> 1.000 0.000 0.000 </direction_A>
23-
<body_B> </body_B>
24-
</Torque>
25-
26-
<GeneralizedForce name="default">
27-
<max_force> 1000.000 </max_force>
28-
<min_force> -1000.000 </min_force>
29-
<optimal_force> 300.00000000 </optimal_force>
30-
<coordinate> </coordinate>
31-
</GeneralizedForce>
32-
33-
</defaults>
344

355
<objects>
366

Pipelines/Hamner/ControlConstraints_CMC.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<ControlSet name="gait2392_CMC">
3-
<defaults>
4-
<ControlLinear name="default">
5-
<is_model_control> true </is_model_control>
6-
<extrapolate> true </extrapolate>
7-
<default_min> 0.01 </default_min>
8-
<default_max> 1.00 </default_max>
9-
<use_steps> true </use_steps>
10-
</ControlLinear>
11-
</defaults>
123
<objects>
134
<ControlLinear name="FX.excitation">
145
<default_min> -100.0 </default_min>

Pipelines/Hamner/ControlConstraints_RRA.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<ControlSet name="gait2392_RRA">
3-
<defaults>
4-
<ControlLinear name="default">
5-
<is_model_control> true </is_model_control>
6-
<extrapolate> true </extrapolate>
7-
<default_min> -1.0 </default_min>
8-
<default_max> 1.0 </default_max>
9-
<use_steps> false </use_steps>
10-
</ControlLinear>
11-
</defaults>
123
<objects>
134
<ControlLinear name="FX.excitation">
145
<default_min> -20.0 </default_min>

0 commit comments

Comments
 (0)