pub struct JointFit {
pub values: Vec<JointValue>,
pub alike: Vec<(usize, usize)>,
pub folded: Vec<String>,
pub payload_steps: Vec<(f64, f64)>,
}Expand description
Stage 1 in the motors’ coordinates (fit_joints).
Fields§
§values: Vec<JointValue>The base parameters: every value the trace tells apart from the others, with what it combines.
alike: Vec<(usize, usize)>Pairs of values (their indices) whose measured estimates correlate by more than ALIKE: the trace cannot
tell them apart, only a sum (or difference) of them is known, and each one’s error band is wide for that.
folded: Vec<String>Values (quantity of) that are not reported on their own: those a base parameter combines, and those the
rigid torques do not depend on at all (a link’s first moment along its own joint’s axis).
payload_steps: Vec<(f64, f64)>Where the payload was picked or dropped during the trace, rising: each time and its standard error, in s. The
payload’s factor is then fitted per stretch between them: before the first (payload_factor_before) and from each
on (payload_factor_after, of payload for one step, payload 1, payload 2, … for several).
Implementations§
Source§impl JointFit
impl JointFit
Sourcepub fn advice(&self) -> Vec<(&'static str, String)>
pub fn advice(&self) -> Vec<(&'static str, String)>
What the fit says to change in the config, as translation keys with their argument: the factor on the payload (or its step), per motor the changes of inertia, friction and constant torque at its shaft, per link its mass factor and first moment; then what each base parameter combines, what has no effect and the pairs that cannot be told apart.