ask-matt
MAmattpocock/skills336k4,217 new stars in the last 7 days
Localize objects and compose low-level CAP MCP actions using observations, Cartesian or synchronized motion, joint targets, and single-arm gripper control.
Follow AGENTS.md. Use the native mcp__cap__* interface
attached to the ASPIRE CAP session. Keep that session as the only environment and
camera owner; do not create another robot or camera runtime during a physical task.
For a plainly short-horizon task, execute the shortest dependency-ordered MCP sequence immediately. Skip source inspection, a full planning report, and redundant checks.
Native MCP schemas are authoritative. The low-level action tools are:
| Tool | Target |
|---|---|
cap_move_to_pose | target_pose, with arm="left" or "right" |
cap_move_synchronized | targets={"left": pose, "right": pose} for jointly planned motion |
cap_move_to_joints | target containing six joint angles in radians, with arm |
cap_set_gripper | position from 0 closed to 1 open, with arm |
An absolute pose includes position: [x, y, z] in metres, frame, and exactly one
of rpy_deg: [roll, pitch, yaw] or quaternion_wxyz: [w, x, y, z]. RPY uses degrees
and fixed-axis XYZ: R = Rz(yaw) @ Ry(pitch) @ Rx(roll) in the declared frame.
Returned poses use WXYZ quaternions. Read measured arm poses with cap_get_robot_state.
For Cartesian or synchronized pose motion with cuRobo configured, select
strategy={"ik_solver":"mink","trajectory_planner":"curobo"}. Never disable
collision checking to force a failed plan through. Do not use direct joint motion
as implicit IK or to bypass a failed collision-aware Cartesian plan.
For a layer turn, derive successive absolute pose targets from the measured cube
axis and EEF pose. An offset EEF needs both its position and orientation rotated
about that axis. Verify contact and actual sticker motion from returned evidence.
Use separate cap_set_gripper calls for intended grip changes. Prefer synchronized
motion only when both targets are grounded and neither depends on the other's feedback.
Use the MCP schemas as authoritative. The expected discoverable tools are:
cap_localize_object → cap_move_to_pose → optional observe
cap_localize_object performs one-shot SAM3 plus shared RGB-D localization. cap_move_to_pose
performs its own IK and motion planning. Observation and localization are read-only; only action
tools actuate the robot.
Read current arm state when a target depends on the measured EEF pose. Form a full pose from grounded object geometry and the intended grasp orientation; an object's estimated orientation is not automatically a suitable gripper orientation.
Use the runtime's available camera names; their names and count are not fixed.
observe and get_job accept an optional cameras list. World-frame localization
requires a calibrated RGB-D view. Check the installed pads before applying the
cube guide's soft UMI contact guidance.
cap_localize_object in a calibrated RGB-D view. Reuse that
result when its identity, frame, geometry, and diagnostics are valid. Repeat only after concrete
invalid or contradictory evidence, or after motion changed the scene; do not sample twice merely
to estimate stability. Reject unreliable estimates, not the entire task: another view or a bounded
correction grounded in measured EEF state and visible alignment may remain feasible.observe when a required relation is absent,
stale, ambiguous, or contradicted; never use it as a routine acknowledgement of successful motion.observe first unless visual
inspection is needed to select or disambiguate the subject or target.cap_set_gripper for one arm. Position 0.0 is fully closed, 1.0 is fully open,
and intermediate values are proportional. One successful call completes the transition;
do not repeat it when the returned gripper state already
verifies the target.MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
OBobra/superpowers331k5,030 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days