OpenSim_DECLARE_PROPERTY (exponent, int, "The exponent applied to the output value in the integrand. " "The output can take on negative values in the integrand when the " "exponent is set to 1 (the default value). When the exponent is " "set to a value greater than 1, the absolute value function is " "applied to the output (before the exponent is applied), meaning " "that odd numbered exponents (greater than 1) do not take on " "negative values.")
OpenSim_DECLARE_PROPERTY (divide_by_displacement, bool, "Divide by the model's displacement over the phase (default: " "false)")
OpenSim_DECLARE_PROPERTY (exponent, int, "The exponent applied to the output value in the integrand. " "The output can take on negative values in the integrand when the " "exponent is set to 1 (the default value). When the exponent is " "set to a value greater than 1, the absolute value function is " "applied to the output (before the exponent is applied), meaning " "that odd numbered exponents (greater than 1) do not take on " "negative values.")
Goal that minimizes marker acceleration in a Moco optimization problem.
Goal that minimizes the acceleration of a model marker.
This goal minimizes the absolute acceleration of a model marker summed over its x, y, and z components, integrated over the phase. The integrand is:
where is the marker acceleration and is the exponent (default: 2).
This goal can be useful for:
Reducing rapid changes in marker motion
Smoothing marker trajectories
Minimizing jerk in marker paths
Note
The marker must exist in the model and its name must be specified using setMarkerName() before the goal can be used.
This goal minimizes the absolute acceleration of a specified model marker, integrated over the phase. The acceleration is computed as the sum of the squared accelerations in the x, y, and z directions.
This goal can be useful for:
Generating smoother marker trajectories
Reducing rapid changes in marker motion
Minimizing jerk in specific body segments
Improving motion naturalness
The goal requires specification of a marker name to track. The acceleration can be raised to a specified power using the exponent property, and can optionally be divided by the total displacement of the model during the phase to make the cost invariant to the distance traveled.
"The exponent applied to the output value in the integrand. " "The output can take on negative values in the integrand when the " "exponent is set to 1 (the default value). When the exponent is " "set to a value greater than
1,
the absolute value function is " "applied to the
outputbefore the exponent is applied,
meaning " "that odd numbered exponents(greater than 1) do not take on " "negative values."
"The exponent applied to the output value in the integrand. " "The output can take on negative values in the integrand when the " "exponent is set to 1 (the default value). When the exponent is " "set to a value greater than
1,
the absolute value function is " "applied to the
outputbefore the exponent is applied,
meaning " "that odd numbered exponents(greater than 1) do not take on " "negative values."