[][src]Enum k::Error

pub enum Error {
    OutOfLimitError {
        joint_name: String,
        position: f64,
        max_limit: f64,
        min_limit: f64,
    },
    SetToFixedError {
        joint_name: String,
    },
    SizeMismatchError {
        input: usize,
        required: usize,
    },
    MimicError {
        from: String,
        to: String,
    },
    NotConvergedError {
        num_tried: usize,
        position_diff: Vector3<f64>,
        rotation_diff: Vector3<f64>,
    },
    InverseMatrixError,
    PreconditionError {
        dof: usize,
        necessary_dof: usize,
    },
}

The reason of joint error

Variants

OutOfLimitError

Failed to set joint angle because the input is out of range or it is fixed joint

Fields of OutOfLimitError

joint_name: String

name of the joint

position: f64

target position

max_limit: f64

max limit

min_limit: f64

min limit

SetToFixedError

Fields of SetToFixedError

joint_name: String

name of the joint

SizeMismatchError

Gave invalid size of vec as input

Fields of SizeMismatchError

input: usize

size of input

required: usize

required size

MimicError

Error about mimic

Fields of MimicError

from: String

tried to copy from from

to: String

tried to copy to to

NotConvergedError

Fields of NotConvergedError

num_tried: usizeposition_diff: Vector3<f64>rotation_diff: Vector3<f64>
InverseMatrixError
PreconditionError

Fields of PreconditionError

dof: usizenecessary_dof: usize

Trait Implementations

impl Clone for Error[src]

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[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> 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<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

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>,