pub struct BoxFK<const N: usize>(/* private fields */);Implementations§
Trait Implementations§
Source§impl<const N: usize> FKChain<N> for BoxFK<N>
impl<const N: usize> FKChain<N> for BoxFK<N>
type Error = DekeError
Source§fn base_tf(&self) -> Affine3A
fn base_tf(&self) -> Affine3A
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>) -> Result<[Affine3A; N], DekeError>
fn fk_end(&self, q: &SRobotQ<N>) -> Result<Affine3A, DekeError>
Source§fn joint_axes_positions(
&self,
q: &SRobotQ<N>,
) -> Result<([Vec3A; N], [Vec3A; N], Vec3A), DekeError>
fn joint_axes_positions( &self, q: &SRobotQ<N>, ) -> Result<([Vec3A; N], [Vec3A; N], Vec3A), 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<f32, Self::Error>
fn max_reach(&self) -> Result<f32, Self::Error>
Theoretical maximum reach: sum of link lengths (upper bound, ignores joint limits).
Source§fn jacobian(&self, q: &SRobotQ<N>) -> Result<[[f32; N]; 6], Self::Error>
fn jacobian(&self, q: &SRobotQ<N>) -> Result<[[f32; 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> Freeze for BoxFK<N>
impl<const N: usize> !RefUnwindSafe for BoxFK<N>
impl<const N: usize> Send for BoxFK<N>
impl<const N: usize> Sync for BoxFK<N>
impl<const N: usize> Unpin for BoxFK<N>
impl<const N: usize> UnsafeUnpin for BoxFK<N>
impl<const N: usize> !UnwindSafe for BoxFK<N>
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