FAILURE MAP
← Case archive

FA-88250 / Inverse kinematics solvers / Member archive

Trajectory jump test is applied to the first solution rather than the chosen one · case 05

Waypoints are rejected as jumps even though the other branch is close.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

Input [l1,l2,q0,targets,maxjump]: planar 2R arm with continuous joints following a list of targets from joint state q0 (degrees). For each target compute the elbow +/- solutions; unreachable targets append "hold". Choose the solution with the smallest max wrapped joint change from the previous state; if that change exceeds maxjump append "jump" and keep the state. Otherwise unwrap the solution to lie within 180 of the previous angles, append it (3 decimals) and count a flip whenever the elbow sign differs from the last accepted one. Return [outputs, flips].

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
dropout across branch change[[[-24.867, 31.788], "hold", "jump"], 0][[[-24.867, 31.788], "hold", [-132.051, -14.07]], 1]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 ↗