Enum franka::exception::FrankaException [−][src]
pub enum FrankaException { ControlException { log: Option<Vec<Record>>, error: String, }, IncompatibleLibraryVersionError { server_version: u16, library_version: u16, }, NoMotionGeneratorRunningError, NoControllerRunningError, PartialCommandError, NetworkException { message: String, }, CommandException { message: String, }, ModelException { message: String, }, RealTimeException { message: String, }, }
Represents all kind of errors which correspond to the franka::Exception in the C++ version of this library
Variants
ControlException is thrown if an error occurs during motion generation or torque control. The exception holds a vector with the last received robot states. The number of recorded states can be configured in the Robot constructor.
Show fields
IncompatibleVersionException is thrown if the robot does not support this version of libfranka-rs.
Show fields
NoMotionGeneratorRunningError is thrown when trying to send a motion command without an motion generator running.
NoControllerRunningError is thrown when trying to send a control command without an controller running.
PartialCommandError when trying to send a partial command.
NetworkException is thrown if a connection to the robot cannot be established, or when a timeout occurs.
Show fields
Fields of NetworkException
message: String
CommandException is thrown if an error occurs during command execution.
Show fields
Fields of CommandException
message: String
ModelException is thrown if an error occurs when loading the model library
Show fields
Fields of ModelException
message: String
RealTimeException is thrown if the real-time priority cannot be set
Show fields
Fields of RealTimeException
message: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FrankaException
impl RefUnwindSafe for FrankaException
impl Send for FrankaException
impl Send for FrankaException
impl Sync for FrankaException
impl Sync for FrankaException
impl Unpin for FrankaException
impl Unpin for FrankaException
impl UnwindSafe for FrankaException
impl UnwindSafe for FrankaException
Blanket Implementations
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>,