Skip to main content

solve_constrained_fabrik_motor_ik_zero_heap

Function solve_constrained_fabrik_motor_ik_zero_heap 

pub fn solve_constrained_fabrik_motor_ik_zero_heap(
    chain_world_motors: &[Motor],
    constraints: &[JointConstraint],
    target_pos: [f32; 3],
    tolerance: f32,
    max_iterations: usize,
    out_world_motors: &mut [Motor],
    out_local_motors: &mut [Motor],
) -> Result<f32, SkeletalError>
Expand description

Solves multi-joint Constrained Forward-And-Backward Reaching Inverse Kinematics (FABRIK) directly on a chain of up to MAX_IK_CHAIN = 16 PGA Motors with zero heap allocations (HotZeroHeap).