pub fn motor_patch(
params: &Value,
choices: &FormChoices,
) -> Result<Value, String>Expand description
The patch an edited motor form means: constraint, from, to and the
drive rebuilt from the mode. A mode just switched has no fields of its
own yet, so they are seeded as the pane always did: a speed of 10 mm/s or
90°/s, a profile from the mate’s value 20 mm or 360° on, a trapezoid’s
default acceleration share.