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]
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. Seeelbow
pub fn has_elbow(&self) -> bool
[src]
Determines whether there is a stored elbow configuration.
Trait Implementations
impl Clone for CartesianVelocities
[src]
impl Clone for CartesianVelocities
[src]fn clone(&self) -> CartesianVelocities
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CartesianVelocities
[src]
impl Copy for CartesianVelocities
[src]impl<'de> Deserialize<'de> for CartesianVelocities
[src]
impl<'de> Deserialize<'de> for CartesianVelocities
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Finishable for CartesianVelocities
[src]
impl Finishable for CartesianVelocities
[src]fn is_finished(&self) -> bool
[src]
fn set_motion_finished(&mut self, finished: bool)
[src]
fn convert_motion(
&self,
robot_state: &RobotState,
command: &mut MotionGeneratorCommand,
cutoff_frequency: f64,
limit_rate: bool
)
[src]
&self,
robot_state: &RobotState,
command: &mut MotionGeneratorCommand,
cutoff_frequency: f64,
limit_rate: bool
)
impl From<Matrix<f64, U6, U1, <DefaultAllocator as Allocator<f64, U6, U1>>::Buffer>> for CartesianVelocities
[src]
impl From<Matrix<f64, U6, U1, <DefaultAllocator as Allocator<f64, U6, U1>>::Buffer>> for CartesianVelocities
[src]impl Serialize for CartesianVelocities
[src]
impl Serialize for CartesianVelocities
[src]Auto Trait Implementations
impl RefUnwindSafe for CartesianVelocities
impl RefUnwindSafe for CartesianVelocities
impl Send for CartesianVelocities
impl Send for CartesianVelocities
impl Sync for CartesianVelocities
impl Sync for CartesianVelocities
impl Unpin for CartesianVelocities
impl Unpin for CartesianVelocities
impl UnwindSafe for CartesianVelocities
impl UnwindSafe for CartesianVelocities
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> MotionFinished for T where
T: Finishable + Copy,
[src]
impl<T> MotionFinished for T where
T: Finishable + Copy,
[src]pub fn motion_finished(Self) -> T
[src]
impl<T> Same<T> for T
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<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,