pub fn plan_within(
axes: &[AxisInfo],
spin: Option<[f64; 2]>,
start: &[f64],
pieces: &[Piece],
feeds: &[f64],
cycle: f64,
tolerance: impl Into<Tolerance>,
slack: f64,
) -> Result<Vec<(f64, Vec<f64>)>, CommandError>Expand description
plan_feeds with the flange’s angular speed and acceleration limits spin (rad/s, rad/s^2; MotionLaw::spin, an
arm in tool space) kept on the pieces that turn by slerp: about one axis, so the flange turns at the angle between
their orientations over their length times the speed along the path, and accelerates as much times the path’s
acceleration (no other part, the axis fixed). The axes’ limits bound the rotation vector’s rates only, which spin
the flange faster away from no turn.