FAILURE MAP
← Case archive

FA-87952 / Inverse kinematics solvers / Member archive

CCD clamps the per-step rotation instead of the joint angle · case 02

Joints drift beyond their limits over repeated sweeps.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

Input [lengths, angles, target, iters, tol, lim]: planar serial chain with relative joint angles in degrees and a symmetric joint limit +/-lim degrees. Each iteration first stops if the tip is within tol of target, else counts one sweep that visits joints from the tip joint down to the base, re-evaluating forward kinematics before each joint, rotating by the signed angle between tip and target vectors and clamping the joint. Return [angles (3 decimals), sweeps performed, final error (4 decimals)].

Why this case matters

Inverse kinematics code turns task-space goals into joint commands; a wrong branch, sign, limit or update order sends a real arm to the wrong pose.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
tight limits[[34.995, 46.61, 36.873], 3, 0.0594][[36.006, 45.0, 37.294], 3, 0.0448]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗