pub enum CommandName {
Show 13 variants
GetRobotModel,
Move,
StopMove,
GetCartesianLimit,
SetCollisionBehavior,
SetJointImpedance,
SetCartesianImpedance,
SetGuidingMode,
SetEEToK,
SetNEToEE,
SetLoad,
SetFilters,
AutomaticErrorRecovery,
}Expand description
The command names libfranka puts into its error texts
(research_interface::robot::CommandTraits<T>::kName).
Variants§
GetRobotModel
Fetches the robot’s URDF ("Get Robot Model"). FCI v10 only.
Move
Starts a motion ("Move").
StopMove
Stops the running motion ("Stop Move"), the command behind
crate::Robot::stop.
GetCartesianLimit
Reads a virtual wall cuboid ("Get Cartesian Limit"). FCI v5 only
(Robot::getVirtualWall).
SetCollisionBehavior
Port of franka::Robot::setCollisionBehavior ("Set Collision Behavior").
SetJointImpedance
Port of franka::Robot::setJointImpedance ("Set Joint Impedance").
SetCartesianImpedance
Port of franka::Robot::setCartesianImpedance ("Set Cartesian Impedance").
SetGuidingMode
Port of franka::Robot::setGuidingMode ("Set Guiding Mode").
SetEEToK
Port of franka::Robot::setK ("Set EE To K").
SetNEToEE
Port of franka::Robot::setEE ("Set NE To EE").
SetLoad
Port of franka::Robot::setLoad ("Set Load").
SetFilters
Port of franka::Robot::setFilters ("Set Filters"). FCI v5 only.
AutomaticErrorRecovery
Clears a reflex and re-enables motion ("Automatic Error Recovery"), the command behind
crate::Robot::automatic_error_recovery.
Implementations§
Source§impl CommandName
impl CommandName
Sourcepub const fn command(self, version: FciVersion) -> Option<u32>
pub const fn command(self, version: FciVersion) -> Option<u32>
The wire command id of this command under version, or None when that FCI version
does not have the command (Get Robot Model on an FER, Set Filters and
Get Cartesian Limit on an FR3).
This replaces the version-less command() of the FR3-only releases: the two protocol
versions number their commands differently from SetCollisionBehavior onwards, so a
wire id is only meaningful together with a version. RobotImpl::command_id is the
same lookup against a live connection’s negotiated version, with the
FrankaError::InvalidOperation text libfranka would print.
Trait Implementations§
Source§impl Clone for CommandName
impl Clone for CommandName
Source§fn clone(&self) -> CommandName
fn clone(&self) -> CommandName
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CommandName
Source§impl Debug for CommandName
impl Debug for CommandName
impl Eq for CommandName
Source§impl PartialEq for CommandName
impl PartialEq for CommandName
Source§fn eq(&self, other: &CommandName) -> bool
fn eq(&self, other: &CommandName) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommandName
Auto Trait Implementations§
impl Freeze for CommandName
impl RefUnwindSafe for CommandName
impl Send for CommandName
impl Sync for CommandName
impl Unpin for CommandName
impl UnsafeUnpin for CommandName
impl UnwindSafe for CommandName
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
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>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.