Enum franka::robot::error::FrankaError[][src]

#[repr(u64)]
pub enum FrankaError {
Show variants kJointPositionLimitsViolation, kCartesianPositionLimitsViolation, kSelfcollisionAvoidanceViolation, kJointVelocityViolation, kCartesianVelocityViolation, kForceControlSafetyViolation, kJointReflex, kCartesianReflex, kMaxGoalPoseDeviationViolation, kMaxPathPoseDeviationViolation, kCartesianVelocityProfileSafetyViolation, kJointPositionMotionGeneratorStartPoseInvalid, kJointMotionGeneratorPositionLimitsViolation, kJointMotionGeneratorVelocityLimitsViolation, kJointMotionGeneratorVelocityDiscontinuity, kJointMotionGeneratorAccelerationDiscontinuity, kCartesianPositionMotionGeneratorStartPoseInvalid, kCartesianMotionGeneratorElbowLimitViolation, kCartesianMotionGeneratorVelocityLimitsViolation, kCartesianMotionGeneratorVelocityDiscontinuity, kCartesianMotionGeneratorAccelerationDiscontinuity, kCartesianMotionGeneratorElbowSignInconsistent, kCartesianMotionGeneratorStartElbowInvalid, kForceControllerDesiredForceToleranceViolation, kStartElbowSignInconsistent, kCommunicationConstraintsViolation, kPowerLimitViolation, kCartesianMotionGeneratorJointPositionLimitsViolation, kCartesianMotionGeneratorJointVelocityLimitsViolation, kCartesianMotionGeneratorJointVelocityDiscontinuity, kCartesianMotionGeneratorJointAccelerationDiscontinuity, kCartesianPositionMotionGeneratorInvalidFrame, kControllerTorqueDiscontinuity, kJointP2PInsufficientTorqueForPlanning, kTauJRangeViolation, kInstabilityDetection, kJointMoveInWrongDirection,
}

Controlling errors of the robot.

Variants

kJointPositionLimitsViolation

The robot moved past the joint limits.

kCartesianPositionLimitsViolation

The robot moved past any of the virtual walls.

kSelfcollisionAvoidanceViolation

The robot would have collided with itself

kJointVelocityViolation

The robot exceeded joint velocity limits.

kCartesianVelocityViolation

The robot exceeded Cartesian velocity limits.

kForceControlSafetyViolation

The robot exceeded safety threshold during force control.

kJointReflex

A collision was detected, i.e.\ the robot exceeded a torque threshold in a joint motion.

kCartesianReflex

A collision was detected, i.e.\ the robot exceeded a torque threshold in a Cartesian motion.

kMaxGoalPoseDeviationViolation

Internal motion generator did not reach the goal pose.

kMaxPathPoseDeviationViolation

True if internal motion generator deviated from the path.

kCartesianVelocityProfileSafetyViolation

Cartesian velocity profile for internal motions was exceeded.

kJointPositionMotionGeneratorStartPoseInvalid

An external joint position motion generator was started with a pose too far from the current pose.

kJointMotionGeneratorPositionLimitsViolation

An external joint motion generator would move into a joint limit.

kJointMotionGeneratorVelocityLimitsViolation

An external joint motion generator exceeded velocity limits.

kJointMotionGeneratorVelocityDiscontinuity

Commanded velocity in joint motion generators is discontinuous (target values are too far apart).

kJointMotionGeneratorAccelerationDiscontinuity

Commanded acceleration in joint motion generators is discontinuous (target values are too far apart).

kCartesianPositionMotionGeneratorStartPoseInvalid

An external Cartesian position motion generator was started with a pose too far from the current pose.

kCartesianMotionGeneratorElbowLimitViolation

An external Cartesian motion generator would move into an elbow limit.

kCartesianMotionGeneratorVelocityLimitsViolation

An external Cartesian motion generator would move with too high velocity.

kCartesianMotionGeneratorVelocityDiscontinuity

Commanded velocity in Cartesian motion generators is discontinuous (target values are too far apart).

kCartesianMotionGeneratorAccelerationDiscontinuity

Commanded acceleration in Cartesian motion generators is discontinuous (target values are too far apart).

kCartesianMotionGeneratorElbowSignInconsistent

Commanded elbow values in Cartesian motion generators are inconsistent.

kCartesianMotionGeneratorStartElbowInvalid

The first elbow value in Cartesian motion generators is too far from initial one.

kForceControllerDesiredForceToleranceViolation

The torque set by the external controller is discontinuous.

kStartElbowSignInconsistent

The start elbow sign was inconsistent. Applies only to motions started from Desk.

kCommunicationConstraintsViolation

Minimum network communication quality could not be held during a motion.

kPowerLimitViolation

Commanded values would result in exceeding the power limit.

kCartesianMotionGeneratorJointPositionLimitsViolation

The joint position limits would be exceeded after IK calculation.

kCartesianMotionGeneratorJointVelocityLimitsViolation

The joint velocity limits would be exceeded after IK calculation.

kCartesianMotionGeneratorJointVelocityDiscontinuity

The joint velocity in Cartesian motion generators is discontinuous after IK calculation

kCartesianMotionGeneratorJointAccelerationDiscontinuity

The joint acceleration in Cartesian motion generators is discontinuous after IK calculation.

kCartesianPositionMotionGeneratorInvalidFrame

Cartesian pose is not a valid transformation matrix.

kControllerTorqueDiscontinuity

The torque set by the external controller is discontinuous.

kJointP2PInsufficientTorqueForPlanning

The robot is overloaded for the required motion.

Applies only to motions started from Desk.

kTauJRangeViolation

The measured torque signal is out of the safe range.

kInstabilityDetection

An instability is detected.

kJointMoveInWrongDirection

The robot is in joint position limits violation error and the user guides the robot further towards the limit.

Trait Implementations

impl Clone for FrankaError[src]

impl Copy for FrankaError[src]

impl Debug for FrankaError[src]

impl<'de> Deserialize<'de> for FrankaError[src]

impl Display for FrankaError[src]

impl FromPrimitive for FrankaError[src]

impl PartialEq<FrankaError> for FrankaError[src]

impl Serialize for FrankaError[src]

impl StructuralPartialEq for FrankaError[src]

impl ToPrimitive for FrankaError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Debug + Any
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,