Measure for how well a simulation mimics data from predefined motion file.

This measure only considers variable that are part of the actual state of the model, which includes the DOFs, DOF velocities, muscle activation (*.activation), and muscle fiber length (*.fiber_length) Variables that are derived from the state are not included in the measure.

Inherits from Measure.

Public Attributes

Parameter Type Description
file xo::path Filename of storage (sto).
use_best_match bool Use only best match instead of average match useful when data contains a single pose; default = false.
include_states xo::pattern_matcher States to include for comparison; default = *.
exclude_states xo::pattern_matcher States to exclude for comparison; default = “”.
name String Name of the Measure, to be used in reporting; defaults to measure type.
weight Real Weighting factor applied to the result of the measure; default = 1.
threshold Real Threshold above / below which the measure becomes zero; default = 0.
result_offset Real Offset added to measure result; default = 0.
minimize bool Indicate whether this measure should be minimized; is set correctly by default.
start_time TimeInSeconds Time [s] at which Controller becomes active; default = 0.
stop_time TimeInSeconds Time [s] at which Controller becomes inactive; default = until simulation ends.
signature_prefix String Prefix signature with custom string. Special tags: DATE_TIME, DATE_TIME_EXACT, SCONE_VERSION.
signature_postfix String Append custom string to signature. Special tags: DATE_TIME, DATE_TIME_EXACT, SCONE_VERSION.

Converted from doxygen using dokugen

  • (external edit)