MoveItErrorCodes

Struct MoveItErrorCodes 

Source
pub struct MoveItErrorCodes {
    pub val: i32,
    pub message: String,
    pub source: String,
}

Fields§

§val: i32§message: String§source: String

Implementations§

Source§

impl MoveItErrorCodes

Source

pub const SUCCESS: i32 = 1i32

Source

pub const UNDEFINED: i32 = 0i32

Source

pub const FAILURE: i32 = 99_999i32

Source

pub const PLANNING_FAILED: i32 = -1i32

Source

pub const INVALID_MOTION_PLAN: i32 = -2i32

Source

pub const MOTION_PLAN_INVALIDATED_BY_ENVIRONMENT_CHANGE: i32 = -3i32

Source

pub const CONTROL_FAILED: i32 = -4i32

Source

pub const UNABLE_TO_AQUIRE_SENSOR_DATA: i32 = -5i32

Source

pub const TIMED_OUT: i32 = -6i32

Source

pub const PREEMPTED: i32 = -7i32

Source

pub const START_STATE_IN_COLLISION: i32 = -10i32

Source

pub const START_STATE_VIOLATES_PATH_CONSTRAINTS: i32 = -11i32

Source

pub const START_STATE_INVALID: i32 = -26i32

Source

pub const GOAL_IN_COLLISION: i32 = -12i32

Source

pub const GOAL_VIOLATES_PATH_CONSTRAINTS: i32 = -13i32

Source

pub const GOAL_CONSTRAINTS_VIOLATED: i32 = -14i32

Source

pub const GOAL_STATE_INVALID: i32 = -27i32

Source

pub const UNRECOGNIZED_GOAL_TYPE: i32 = -28i32

Source

pub const INVALID_GROUP_NAME: i32 = -15i32

Source

pub const INVALID_GOAL_CONSTRAINTS: i32 = -16i32

Source

pub const INVALID_ROBOT_STATE: i32 = -17i32

Source

pub const INVALID_OBJECT_NAME: i32 = -19i32

Source

pub const FRAME_TRANSFORM_FAILURE: i32 = -21i32

Source

pub const COLLISION_CHECKING_UNAVAILABLE: i32 = -22i32

Source

pub const ROBOT_STATE_STALE: i32 = -23i32

Source

pub const SENSOR_INFO_STALE: i32 = -24i32

Source

pub const COMMUNICATION_FAILURE: i32 = -25i32

Source

pub const CRASH: i32 = -29i32

Source

pub const ABORT: i32 = -30i32

Source

pub const NO_IK_SOLUTION: i32 = -31i32

Trait Implementations§

Source§

impl Clone for MoveItErrorCodes

Source§

fn clone(&self) -> MoveItErrorCodes

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MoveItErrorCodes

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MoveItErrorCodes

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for MoveItErrorCodes

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for MoveItErrorCodes

Source§

fn eq(&self, other: &MoveItErrorCodes) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for MoveItErrorCodes

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Message for MoveItErrorCodes

Source§

impl StructuralPartialEq for MoveItErrorCodes

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

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

Source§

fn vzip(self) -> V

Source§

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