pub struct InverseKinematicsOptions {
pub max_iterations: usize,
pub translation_tolerance: f64,
pub rotation_tolerance: f64,
pub damping: f64,
pub max_step_norm: f64,
}Expand description
Configuration for damped-least-squares inverse kinematics.
Fields§
§max_iterations: usizeMaximum number of joint updates.
translation_tolerance: f64Maximum accepted Euclidean position error, in metres.
rotation_tolerance: f64Maximum accepted rotation-vector norm, in radians.
damping: f64Damping factor lambda in J^T (J J^T + lambda^2 I)^-1.
max_step_norm: f64Maximum Euclidean norm of one joint update.
Trait Implementations§
Source§impl Clone for InverseKinematicsOptions
impl Clone for InverseKinematicsOptions
impl Copy for InverseKinematicsOptions
Source§impl Debug for InverseKinematicsOptions
impl Debug for InverseKinematicsOptions
Source§impl Default for InverseKinematicsOptions
impl Default for InverseKinematicsOptions
Source§impl PartialEq for InverseKinematicsOptions
impl PartialEq for InverseKinematicsOptions
impl StructuralPartialEq for InverseKinematicsOptions
Auto Trait Implementations§
impl Freeze for InverseKinematicsOptions
impl RefUnwindSafe for InverseKinematicsOptions
impl Send for InverseKinematicsOptions
impl Sync for InverseKinematicsOptions
impl Unpin for InverseKinematicsOptions
impl UnsafeUnpin for InverseKinematicsOptions
impl UnwindSafe for InverseKinematicsOptions
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> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.