Skip to main content

poses

Function poses 

Source
pub(crate) fn poses(
    args: &Args,
    sim: &Sim,
    cfg: &Config,
    tr: &Translations,
) -> Result<Option<Vec<(f64, Vec<f64>)>>, Failure>
Expand description

The poses at times to run: those of --trajectory FILE, or the lines and arcs of --path FILE (format: see sim_components::path; or a G-code, KRL, RAPID or robot CSV program, see sim_components::program) with their timing planned here, within the axis limits or with --time-optimal as fast as the motors allow. Where transition curves or an arc beside its stated end take the planned path off the lines and arcs of the file (profile.path_tolerance_m), the error stream says by how much (for a program of moves at one feed).