Skip to main content

linear_transformation

Function linear_transformation 

Source
pub fn linear_transformation(machine: &dyn Machine) -> bool
Expand description

Whether the motors turn by the same angle per travel of each axis everywhere: at 40 % and at 60 % of every range, 1 mm along each axis, to 1e-9. The fit per axis (identify::fit_rigid) takes the motor angles per axis travel as constant, so it refuses a machine whose transformation is not linear (the delta’s arms, a SCARA), which gave numbers without meaning; those are fitted in the motors’ own coordinates (identify::fit_joints). Replay works for both.