pub struct AxisErrors {
pub axis: usize,
pub expansion: f64,
pub fixed_end: f64,
pub rise: f64,
pub part: Option<usize>,
pub table: Vec<(f64, f64)>,
}Expand description
The map from the position an axis’s motor encoder holds to its real one, for one tool axis (see the module).
Fields§
§axis: usize§expansion: f64Linear expansion of the screw or belt, per K; 0 with effects.thermal_growth off.
fixed_end: f64Where the axis does not grow from (a screw’s fixed bearing, a belt axis’s home), in the axis’s unit.
rise: f64A temperature rise of the screw or belt the config gives, K, and the heated part (Sim::heated, by index) whose
rise it takes on top.
part: Option<usize>§table: Vec<(f64, f64)>The lead error table, (position, error) by rising position, in the axis’s unit; empty with effects.lead_error off.
Implementations§
Trait Implementations§
Source§impl Clone for AxisErrors
impl Clone for AxisErrors
Source§fn clone(&self) -> AxisErrors
fn clone(&self) -> AxisErrors
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AxisErrors
impl Debug for AxisErrors
Source§impl PartialEq for AxisErrors
impl PartialEq for AxisErrors
Source§fn eq(&self, other: &AxisErrors) -> bool
fn eq(&self, other: &AxisErrors) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AxisErrors
Auto Trait Implementations§
impl Freeze for AxisErrors
impl RefUnwindSafe for AxisErrors
impl Send for AxisErrors
impl Sync for AxisErrors
impl Unpin for AxisErrors
impl UnsafeUnpin for AxisErrors
impl UnwindSafe for AxisErrors
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