pub fn split(error: &[f64], direction: &[f64]) -> (f64, f64)Expand description
An error vector split against the direction of motion: (normal, tangential). The normal part is the length of what
is across the direction (the contour error), the tangential the signed part along it: with the error as setpoint
less actual, positive is lagging behind. With no motion (direction zero) all of it is normal.