Skip to main content

axis_errors

Function axis_errors 

Source
pub fn axis_errors<'a>(
    signals: &[SignalInfo],
    columns: &'a [Vec<f64>],
    unit: &str,
) -> Vec<(Vec<f64>, Option<&'a [f64]>)>
Expand description

Per axis whose unit is unit, the tool’s error (docs/model-reference.md, “Tool position error”): the plan at the sample’s time less where the tool is, axis.<id>.position_setpoint run on by setpoint_age with the speed and acceleration setpoints (Controller::plan_now, which the analysis measures against), less axis.<id>.position. A run without setpoint_age (a file from before it) has the age worked out from its own timing (setpoint_age_of). Each with its axis’s speed setpoint, where the run has it.