pub struct AxisFit {
pub config: [f64; 4],
pub fitted: [f64; 4],
pub error: [f64; 4],
pub mass_spread: f64,
pub payload_steps: Vec<(f64, f64, f64, f64)>,
pub details: Vec<FrictionDetail>,
pub units: [&'static str; 4],
}Expand description
The rigid values of one axis, in this order: moved mass (with rotors and pulleys counted as mass at the axis), viscous friction, Coulomb friction and constant force. In N, kg, s and the axis’s unit.
Fields§
§config: [f64; 4]What the estimate gives on the config’s simulation of the trace’s setpoints.
fitted: [f64; 4]What it gives on the trace, and the standard error of that.
error: [f64; 4]§mass_spread: f64How much the moved mass varies over the poses of the trace’s rows that the fit takes (the config’s inertia there,
as mass_spread takes it), in the mass’s unit: in error[0] (in quadrature), and named in the advice where it is
the larger part of it.
payload_steps: Vec<(f64, f64, f64, f64)>Where the payload was picked or dropped during the trace (fit_rigid), rising: the time and its standard error
in s, then the change of the payload’s factor there (+1 for the config’s payload picked, −1 for it dropped) and
its standard error. With steps, fitted holds the values before the first.
details: Vec<FrictionDetail>What the friction does beyond its sliding level (friction_details), those the trace shows; the config’s NaN
where its replay does not show it.
units: [&'static str; 4]The units of the four values (fit_units), for the axis’s own unit: kg, N s/m, N, N on a linear axis.