Skip to main content

Stop

Struct Stop 

Source
pub struct Stop {
    pub at: f64,
    pub moment: Moment,
    pub tool_distance: f64,
    pub axis_distance: Vec<f64>,
    pub time: f64,
    pub peak_deceleration: f64,
    pub hard_stop: bool,
    pub peak_dc_voltage: f64,
    pub resistor_energy: f64,
    pub tripped: bool,
}
Expand description

One stop: when it was triggered (s from the start of the run) and what it came to.

Fields§

§at: f64§moment: Moment§tool_distance: f64

How far the tool got from where it was at the trigger, over the axes in metres (over all axes on a machine without one), and each tool axis, in its unit: the farthest, not the path, so that ringing at the end does not add up.

§axis_distance: Vec<f64>§time: f64

From the trigger until every axis stays below a hundredth of its speed limit, s.

§peak_deceleration: f64

The tool’s largest deceleration over 1 ms, m/s^2 (over the axes as tool_distance).

§hard_stop: bool

An axis went beyond its stroke (into its hard stop).

§peak_dc_voltage: f64

The highest DC link voltage of the drives, V, and the energy their braking resistors took, J.

§resistor_energy: f64§tripped: bool

A drive tripped on DC link overvoltage and the machine coasted from then on.

Trait Implementations§

Source§

impl Clone for Stop

Source§

fn clone(&self) -> Stop

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Stop

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Stop

Source§

fn eq(&self, other: &Stop) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for Stop

Auto Trait Implementations§

§

impl Freeze for Stop

§

impl RefUnwindSafe for Stop

§

impl Send for Stop

§

impl Sync for Stop

§

impl Unpin for Stop

§

impl UnsafeUnpin for Stop

§

impl UnwindSafe for Stop

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.