probe_ik_workspace · robotwin
Wraps cuRobo plan_path over a grid of (approach quat × TCP z). Each
candidate's flange pose is derived from the desired fingertip XYZ via
the appropriate TCP→flange offset (ALOHA_TCP_IN_EE_LOCAL = 0.1556m
along local +X). The mapping of local +X to world axis depends on the
wrist quat — handled in policy.py.
This skill is what scripts/probe_bowl_im.py does, exposed as a tool
agents can call. Calling it BEFORE a propose_new_skill for
"the arm can't reach X" prevents premature proposals; calling it
BEFORE a fallback strategy switch tells you which fallback is even
worth trying.
Failure modes
- All probes infeasible → target truly outside reach (try other arm
or move closer).
- Only feasible at high z → target reachable only "from above"; can't
do horizontal pickup. Use top-down skills.
- Only lateral feasible → target on workspace edge / cross-midline;
use pick_bowl_by_rim or similar.