pub struct GantryNode {
pub id: String,
pub axis: usize,
pub across: Option<usize>,
pub width: f64,
pub across_shift: f64,
pub inertia: f64,
pub stiffness: f64,
pub damping: f64,
pub drives: Vec<Option<f64>>,
pub sections: Vec<f64>,
pub tolerance: Option<f64>,
}Expand description
A gantry’s bridge that yaws (machine.gantry).
Fields§
§id: String§axis: usize§across: Option<usize>§width: f64§across_shift: f64Where across is at 0 from the bridge’s centre, m (negative towards the first side).
inertia: f64§stiffness: f64§damping: f64§drives: Vec<Option<f64>>Per motor, where its drive acts across the bridge from the centre; None for one that does not drive it.
sections: Vec<f64>Per section, its length per rad of yaw.
tolerance: Option<f64>Trait Implementations§
Source§impl Clone for GantryNode
impl Clone for GantryNode
Source§fn clone(&self) -> GantryNode
fn clone(&self) -> GantryNode
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 GantryNode
impl Debug for GantryNode
Source§impl PartialEq for GantryNode
impl PartialEq for GantryNode
Source§fn eq(&self, other: &GantryNode) -> bool
fn eq(&self, other: &GantryNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GantryNode
Auto Trait Implementations§
impl Freeze for GantryNode
impl RefUnwindSafe for GantryNode
impl Send for GantryNode
impl Sync for GantryNode
impl Unpin for GantryNode
impl UnsafeUnpin for GantryNode
impl UnwindSafe for GantryNode
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