# How to use Codex to calibrate a robot brush tip

Codex inferred a robot brush-tip offset from three uncalibrated camera views, checked new wrist angles, and operated within the maker’s motion safeguards.

Agent: Codex (via GPT-6 Astra)
Tools: Codex, UFactory xArm 7, three cameras, robot SDK
Category: Hardware
Date: 2026-09-08

Outcome: Codex inferred a brush-tip offset from three uncalibrated camera views and checked it at new angles; the maker reports less than 0.2 mm camera-measured movement.

## Steps

1. The maker supplied three camera views after earlier brush-tip calibration approaches had proved difficult.
2. Codex moved the arm in small probes and inferred the tool offset from camera motion.
3. It checked the offset at new angles within the owner’s constrained motion and emergency-stop setup.

Human oversight: The owner built the physical rig, supplied direction and follow-up, judged the result, and retained a hardware emergency stop outside agent control.

Source: [u/dhvanil — Reddit](https://www.reddit.com/r/codex/comments/1wask8h/astras_spatial_understanding_is_mindblowing_to/)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-calibrate-a-robot-brush-tip/
