pub struct CartesianPose {
    pub O_T_EE: [f64; 16],
    pub elbow: Option<[f64; 2]>,
    /* private fields */
}
Expand description

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

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

Determines whether there is a stored elbow configuration.

Determines whether the elbow configuration is valid and has finite values

Determines whether the given elbow configuration is valid or not.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Determines whether to finish a currently running motion.

Sets the attribute which decide if the currently running motion should be finished

converts the motion type to a MotionGeneratorCommand and applies rate limiting and filtering

Converts to this type from the input type.

Converts to this type from the input type.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

Helper method to indicate that a motion should stop after processing the given command.

Should always be Self

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.