pub struct BoxFK<const N: usize, F: FKScalar = f32>(/* private fields */);Implementations§
Trait Implementations§
Source§impl<const N: usize, F: FKScalar> FKChain<N, F> for BoxFK<N, F>
impl<const N: usize, F: FKScalar> FKChain<N, F> for BoxFK<N, F>
type Error = DekeError
Source§fn base_tf(&self) -> F::AAffine3
fn base_tf(&self) -> F::AAffine3
Configuration-independent transform from the robot’s base frame to the
world frame. Defaults to identity; wrappers that install a static
prefix (e.g.
TransformedFK with a prefix set, or URDFChain
with fixed leading joints baked in) override this so downstream
consumers (collision validators, visualizers) can place the static
base body at the correct pose.fn fk(&self, q: &SRobotQ<N, F>) -> Result<[F::AAffine3; N], DekeError>
fn fk_end(&self, q: &SRobotQ<N, F>) -> Result<F::AAffine3, DekeError>
Source§fn all_fk(
&self,
q: &SRobotQ<N, F>,
) -> Result<(F::AAffine3, [F::AAffine3; N], F::AAffine3), DekeError>
fn all_fk( &self, q: &SRobotQ<N, F>, ) -> Result<(F::AAffine3, [F::AAffine3; N], F::AAffine3), DekeError>
Source§fn joint_axes_positions(
&self,
q: &SRobotQ<N, F>,
) -> Result<([F::AVec3; N], [F::AVec3; N], F::AVec3), DekeError>
fn joint_axes_positions( &self, q: &SRobotQ<N, F>, ) -> Result<([F::AVec3; N], [F::AVec3; N], F::AVec3), DekeError>
Returns joint rotation axes and axis-origin positions in world frame at
configuration
q, plus the end-effector position.fn dof(&self) -> usize
Source§fn max_reach(&self) -> Result<F, Self::Error>
fn max_reach(&self) -> Result<F, Self::Error>
Theoretical maximum reach: sum of link lengths (upper bound, ignores joint limits).
Source§fn jacobian(&self, q: &SRobotQ<N, F>) -> Result<[[F; N]; 6], Self::Error>
fn jacobian(&self, q: &SRobotQ<N, F>) -> Result<[[F; N]; 6], Self::Error>
Geometric Jacobian (6×N) at configuration
q.
Rows 0–2: linear velocity, rows 3–5: angular velocity.Auto Trait Implementations§
impl<const N: usize, F> Freeze for BoxFK<N, F>
impl<const N: usize, F = f32> !RefUnwindSafe for BoxFK<N, F>
impl<const N: usize, F> Send for BoxFK<N, F>
impl<const N: usize, F> Sync for BoxFK<N, F>
impl<const N: usize, F> Unpin for BoxFK<N, F>
impl<const N: usize, F> UnsafeUnpin for BoxFK<N, F>
impl<const N: usize, F = f32> !UnwindSafe for BoxFK<N, F>
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