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

pub struct CartesianPose {
    pub O_T_EE: [f64; 16],
    pub elbow: Option<[f64; 2]>,
    // some fields omitted
}

Stores values for Cartesian pose motion generation.

Fields

O_T_EE: [f64; 16]

Homogeneous transformation ^O{\mathbf{T}{EE}}{d}, column major, that transforms from the end effector frame EE to base frame O. Equivalently, it is the desired end effector pose in base frame.

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 CartesianPose[src]

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

Creates a new CartesianPose instance.

Arguments

  • cartesian_pose - Desired vectorized homogeneous transformation matrix ^O{\mathbf{T}{EE}}{d} , column major, that transforms from the end effector frame EE to base frame O. Equivalently, it is the desired end effector pose in base frame.

  • elbow - Elbow configuration. See elbow

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

Determines whether there is a stored elbow configuration.

pub fn check_elbow(elbow: &[f64; 2])[src]

Determines whether the elbow configuration is valid and has finite values

pub fn is_valid_elbow(elbow: &[f64; 2]) -> bool[src]

Determines whether the given elbow configuration is valid or not.

Trait Implementations

impl Clone for CartesianPose[src]

impl Copy for CartesianPose[src]

impl Debug for CartesianPose[src]

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

impl Finishable for CartesianPose[src]

impl From<[f64; 16]> for CartesianPose[src]

impl From<Isometry<f64, U3, Unit<Quaternion<f64>>>> for CartesianPose[src]

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