pub enum CuIkStatus {
Converged {
iterations: u32,
position_error: Length,
orientation_error: Angle,
},
MaxIterationsReached {
iterations: u32,
position_error: Length,
orientation_error: Angle,
},
Uninitialized,
}Expand description
Outcome of a bounded inverse kinematics solve.
Variants§
Converged
Target pose reached within position and orientation tolerances.
MaxIterationsReached
Iteration budget exhausted; out_q holds the best-so-far configuration.
Uninitialized
Default uninitialized state prior to any solve.
Implementations§
Source§impl CuIkStatus
impl CuIkStatus
Sourcepub const fn is_converged(&self) -> bool
pub const fn is_converged(&self) -> bool
Returns true if the solver converged within tolerances.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for CuIkStatus
impl<'__de, __Context> BorrowDecode<'__de, __Context> for CuIkStatus
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for CuIkStatus
impl Clone for CuIkStatus
Source§fn clone(&self) -> CuIkStatus
fn clone(&self) -> CuIkStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CuIkStatus
Source§impl Debug for CuIkStatus
impl Debug for CuIkStatus
Source§impl<__Context> Decode<__Context> for CuIkStatus
impl<__Context> Decode<__Context> for CuIkStatus
Source§impl Default for CuIkStatus
impl Default for CuIkStatus
Source§fn default() -> CuIkStatus
fn default() -> CuIkStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CuIkStatus
impl<'de> Deserialize<'de> for CuIkStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 Encode for CuIkStatus
impl Encode for CuIkStatus
Source§impl PartialEq for CuIkStatus
impl PartialEq for CuIkStatus
Source§impl Serialize for CuIkStatus
impl Serialize for CuIkStatus
impl StructuralPartialEq for CuIkStatus
Source§impl TypePath for CuIkStatus
impl TypePath for CuIkStatus
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Auto Trait Implementations§
impl Freeze for CuIkStatus
impl RefUnwindSafe for CuIkStatus
impl Send for CuIkStatus
impl Sync for CuIkStatus
impl Unpin for CuIkStatus
impl UnsafeUnpin for CuIkStatus
impl UnwindSafe for CuIkStatus
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CuMsgPayload for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ElementType for T
impl<T> ElementType for T
impl<T> GetTypeRegistration for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more