Struct franka::robot::control_types::Torques[][src]

pub struct Torques {
    pub tau_J: [f64; 7],
    // some fields omitted
}

Stores joint-level torque commands without gravity and friction.

Fields

tau_J: [f64; 7]

Desired torques in [Nm].

Implementations

impl Torques[src]

pub fn new(torques: [f64; 7]) -> Self[src]

Creates a new Torques instance

Arguments

  • torques - Desired joint-level torques without gravity and friction in [Nm].

Trait Implementations

impl Clone for Torques[src]

impl Copy for Torques[src]

impl Debug for Torques[src]

impl<'de> Deserialize<'de> for Torques[src]

impl Finishable for Torques[src]

impl From<Matrix<f64, U7, U1, <DefaultAllocator as Allocator<f64, U7, U1>>::Buffer>> for Torques[src]

impl Serialize for Torques[src]

Auto Trait Implementations

impl RefUnwindSafe for Torques

impl Send for Torques

impl Sync for Torques

impl Unpin for Torques

impl UnwindSafe for Torques

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> MotionFinished for T where
    T: Finishable + Copy
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,