pub enum RobotMode {
Other,
Idle,
Move,
Guiding,
Reflex,
UserStopped,
AutomaticErrorRecovery,
}Expand description
Robot mode (franka::RobotMode).
Variants§
Other
A mode this client does not model (kOther).
Idle
Ready, with no motion and no external controller running (kIdle).
Move
A motion generator and/or an external controller is running (kMove).
Guiding
Hand-guiding mode: the brakes are open and the robot follows external forces
(kGuiding).
Reflex
A reflex (collision or limit violation) fired and the robot stopped (kReflex); clear it
with crate::Robot::automatic_error_recovery.
UserStopped
The user stop (the external enabling device) is pressed (kUserStopped).
AutomaticErrorRecovery
An crate::Robot::automatic_error_recovery is in progress
(kAutomaticErrorRecovery).
Implementations§
Trait Implementations§
impl Copy for RobotMode
Source§impl Display for RobotMode
libfranka prints robot modes in the commandNotPossibleMsg text; keep the same spelling.
impl Display for RobotMode
libfranka prints robot modes in the commandNotPossibleMsg text; keep the same spelling.
impl Eq for RobotMode
impl StructuralPartialEq for RobotMode
Auto Trait Implementations§
impl Freeze for RobotMode
impl RefUnwindSafe for RobotMode
impl Send for RobotMode
impl Sync for RobotMode
impl Unpin for RobotMode
impl UnsafeUnpin for RobotMode
impl UnwindSafe for RobotMode
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.