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

pub struct CartesianVelocities {
    pub O_dP_EE: [f64; 6],
    pub elbow: Option<[f64; 2]>,
    // some fields omitted
}

Stores values for Cartesian velocity motion generation.

Fields

O_dP_EE: [f64; 6]

Desired Cartesian velocity w.r.t. O-frame {dx in [m/s], dy in [m/s], dz in [m/s], omegax in [rad/s], omegay in [rad/s], omegaz in [rad/s]}.

elbow: Option<[f64; 2]>

Elbow configuration.

If “None” the elbow will be controlled by the robot

The values of the array are:

  • [0] Position of the 3rd joint in [rad].
  • [1] Sign of the 4th joint. Can be +1 or -1.

Implementations

impl CartesianVelocities[src]

pub fn new(cartesian_velocities: [f64; 6], elbow: Option<[f64; 2]>) -> Self[src]

Creates a new CartesianVelocities instance.

Arguments

  • cartesian_velocities - cartesian_velocities Desired Cartesian velocity w.r.t. O-frame {dx in [m/s], dy in

    • [m/s], dz in [m/s], omegax in [rad/s], omegay in [rad/s], omegaz in [rad/s]}.
  • elbow - Elbow configuration. See elbow

pub fn has_elbow(&self) -> bool[src]

Determines whether there is a stored elbow configuration.

Trait Implementations

impl Clone for CartesianVelocities[src]

impl Copy for CartesianVelocities[src]

impl Debug for CartesianVelocities[src]

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

impl Finishable for CartesianVelocities[src]

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

impl Serialize for CartesianVelocities[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> 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>,