pub trait FKChain<const N: usize, F: KinScalar = f32>:
Clone
+ Send
+ Sync {
type Error: Into<DekeError>;
// Required method
fn fk(&self, q: &SRobotQ<N, F>) -> Result<[F::AAffine3; N], Self::Error>;
// Provided methods
fn dof(&self) -> usize { ... }
fn base_tf(&self) -> F::AAffine3 { ... }
fn ee_tf(&self) -> F::AAffine3 { ... }
fn fk_end(&self, q: &SRobotQ<N, F>) -> Result<F::AAffine3, Self::Error> { ... }
fn all_fk(
&self,
q: &SRobotQ<N, F>,
) -> Result<(F::AAffine3, [F::AAffine3; N], F::AAffine3), Self::Error> { ... }
}Required Associated Types§
Required Methods§
Provided Methods§
fn dof(&self) -> usize
Sourcefn base_tf(&self) -> F::AAffine3
fn base_tf(&self) -> F::AAffine3
Configuration-independent transform from the robot’s base frame to the world frame.
fn ee_tf(&self) -> F::AAffine3
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".