Skip to main content

IkSolver

Trait IkSolver 

Source
pub trait IkSolver<const N: usize, F: KinScalar = f32>: FKChain<N, F> {
    type IkConfig: Default + Clone + Send + Sync + 'static;

    // Required method
    fn ik_with_config(
        &self,
        target: F::AAffine3,
        config: &Self::IkConfig,
    ) -> Result<IkOutcome<N, F>, Self::Error>;

    // Provided method
    fn ik(&self, target: F::AAffine3) -> Result<IkOutcome<N, F>, Self::Error> { ... }
}

Required Associated Types§

Source

type IkConfig: Default + Clone + Send + Sync + 'static

Required Methods§

Source

fn ik_with_config( &self, target: F::AAffine3, config: &Self::IkConfig, ) -> Result<IkOutcome<N, F>, Self::Error>

Provided Methods§

Source

fn ik(&self, target: F::AAffine3) -> Result<IkOutcome<N, F>, Self::Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§