pub struct ToolError {
pub time: Vec<f64>,
pub place: bool,
pub normal: Vec<f64>,
pub tangential: Vec<f64>,
pub angle: Vec<f64>,
}Expand description
The tool’s real error over a run (split): the plan at each sample’s time less where the tool really is (axis_errors;
belt stretch and sag included, not the drives’ encoder-side following_error), against the direction of
their speed setpoints: of the axes in m (its place) in m, and of the axes in rad (its turn, an arm’s
orientation) the length in rad, apart, so that metres and radians are never added.
Fields§
§time: Vec<f64>§place: boolWhether the machine has axes in m; without them normal and tangential are all zero.
normal: Vec<f64>§tangential: Vec<f64>§angle: Vec<f64>Empty on a machine without axes in rad.
Trait Implementations§
impl StructuralPartialEq for ToolError
Auto Trait Implementations§
impl Freeze for ToolError
impl RefUnwindSafe for ToolError
impl Send for ToolError
impl Sync for ToolError
impl Unpin for ToolError
impl UnsafeUnpin for ToolError
impl UnwindSafe for ToolError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more