Struct dynpick_force_torque_sensor::Sensitivity[][src]

pub struct Sensitivity { /* fields omitted */ }

How much the digital value from the sensor increses per 1 Newton (for force) and per 1 NewtonMeter (for torque).

Implementations

impl Sensitivity[src]

pub fn new(
    digital_per_newton: Triplet<f64>,
    digital_per_newtonmeter: Triplet<f64>
) -> Sensitivity
[src]

Initialize a new sensitivity of a sensor.

Params

  1. digital_per_newton How much the digital value from the sensor increses per 1 Newton.
  2. digital_per_newtonmeter How much the digital value from the sensor increses per 1 NewtonMeter.

Trait Implementations

impl Clone for Sensitivity[src]

impl Copy for Sensitivity[src]

impl Debug for Sensitivity[src]

impl PartialEq<Sensitivity> for Sensitivity[src]

impl StructuralPartialEq for Sensitivity[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.