pub fn task_config(
entry: &MachineEntry,
cfg: &Config,
task: &Task,
) -> Result<Config, Refusal>Expand description
The config of a machine with a task’s cycle in it: the start above the pick, then down to the pick (the gripper
closes: payload true, the dwell), up, across through the via points to above the place, down (it opens), up, and
back across. Each task position goes to the machine’s axis of id “x”, “y” or “z” in m, from the origin; the other
axes stay at the origin. Refused (Refusal) where a pose moves along an axis the machine has not, lies beyond an axis’s
range, or is one the machine cannot go to (Machine::unreachable); and the payload set where the config has
mass.payload_kg. The assignments of set come last.