Skip to main content

velocity_loop_margins

Function velocity_loop_margins 

Source
pub fn velocity_loop_margins(
    entry: &MachineEntry,
    cfg: &Config,
    bounds: &[(String, f64, f64)],
) -> Result<Vec<(String, Vec<LoopMargins>)>, ConfigError>
Expand description

The margins of every motor’s velocity loop for the config as it is, at each pose of margin_poses (the start pose first) in the payload state the cycle has there (margin_payloads), and with each value of bounds at its low and at its high bound, one at a time (as verdict_bands), at the start pose: per run its name (“” for the config as it is, “start.pose=[x y …]” at another pose, with “ effects.payload=false“ where the payload is off there, “path=value” otherwise) and the margins per motor, from the refined responses of velocity_loop_responses. A hammering’s pose is the run’s.