pub struct CuIkParams {
pub solver: CuIkSolver,
pub max_iterations: u32,
pub position_tolerance: Length,
pub orientation_tolerance: Angle,
pub damping: f64,
pub max_step: Angle,
pub max_linear_step: Length,
pub enforce_joint_limits: bool,
}Expand description
Parameters of the inverse kinematics solver selected by solver.
RON (every field optional, SI values):
{"solver": "damped_least_squares", "max_iterations": 64, "position_tolerance": 1e-4, "orientation_tolerance": 1e-3, "damping": 0.05, "max_step": 0.25, "max_linear_step": 0.025, "enforce_joint_limits": true}
Fields§
§solver: CuIkSolverThe solver algorithm.
max_iterations: u32Maximum solver iterations per call.
position_tolerance: LengthPosition convergence threshold.
orientation_tolerance: AngleOrientation convergence threshold.
damping: f64Damping factor $\lambda > 0$ stabilizing near-singular configurations (dimensionless).
max_step: AngleMaximum per-iteration revolute joint step.
max_linear_step: LengthMaximum per-iteration prismatic displacement.
enforce_joint_limits: boolWhether to clamp joint coordinates to joint limits at each step.
Implementations§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for CuIkParams
impl<'__de, __Context> BorrowDecode<'__de, __Context> for CuIkParams
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 CuIkParams
impl Clone for CuIkParams
Source§fn clone(&self) -> CuIkParams
fn clone(&self) -> CuIkParams
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 CuIkParams
Source§impl Debug for CuIkParams
impl Debug for CuIkParams
Source§impl<__Context> Decode<__Context> for CuIkParams
impl<__Context> Decode<__Context> for CuIkParams
Source§impl Default for CuIkParams
impl Default for CuIkParams
Source§impl<'de> Deserialize<'de> for CuIkParamswhere
CuIkParams: Default,
impl<'de> Deserialize<'de> for CuIkParamswhere
CuIkParams: Default,
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 CuIkParams
impl Encode for CuIkParams
Source§impl PartialEq for CuIkParams
impl PartialEq for CuIkParams
Source§impl Serialize for CuIkParams
impl Serialize for CuIkParams
impl StructuralPartialEq for CuIkParams
Source§impl TypePath for CuIkParams
impl TypePath for CuIkParams
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 CuIkParams
impl RefUnwindSafe for CuIkParams
impl Send for CuIkParams
impl Sync for CuIkParams
impl Unpin for CuIkParams
impl UnsafeUnpin for CuIkParams
impl UnwindSafe for CuIkParams
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