pub enum Frame {
Joint1,
Joint2,
Joint3,
Joint4,
Joint5,
Joint6,
Joint7,
Flange,
EndEffector,
Stiffness,
}Expand description
The seven joints, the flange, the end effector and the stiffness frame.
Port of franka::Frame (include/franka/model.h); the variants are in the
same order as the C++ enumerators kJoint1 .. kStiffness.
Variants§
Joint1
Frame of joint 1.
Joint2
Frame of joint 2.
Joint3
Frame of joint 3.
Joint4
Frame of joint 4.
Joint5
Frame of joint 5.
Joint6
Frame of joint 6.
Joint7
Frame of joint 7.
Flange
Flange frame (the link8 frame of the URDF).
EndEffector
End-effector frame, i.e. the flange frame post-multiplied by F_T_EE.
Stiffness
Stiffness frame K, i.e. the end-effector frame post-multiplied by EE_T_K.
Implementations§
Trait Implementations§
impl Copy for Frame
impl Eq for Frame
Source§impl Ord for Frame
impl Ord for Frame
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Frame
impl PartialOrd for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.