← All projectsGitHub
Digital twins & sim-to-real

A pinhole twin of a radially distorted camera mis-ranges the near field: how far off does a twin-trained braking policy stop, and does focal calibration fix it?

research/lens-twin

A pinhole twin of a radially distorted camera mis-ranges the floor by exactly 1/(1+k₁h²/R²) (+8.1% at 1 m for k₁=−0.3), a twin-trained braking policy stops 9 cm short of 1 m, focal calibration trades the near-field error for a far-field one, and one grid image identifies k₁.

9 tests

What it found

With Brown distortion xd=x(1+k1r2) and a camera at height h, the pinhole twin reads floor range off by exactly 1/(1+k1h2/R2): for k1=−0.3, h=0.5 m that is +15.4% at 0.75 m, +8.1% at 1 m and +0.5% at 4 m. A policy trained to stop at 1.0 m stops at 0.909 m (16.4 cm short at 0.75 m; the first-order formula understates this at large ρ). Least-squares focal calibration (s=1+3k1ρmax2/5) moves the error rather than removing it: near-field 8.1% → 3.2% but a new 4.4% far-field under-read, and a 4 m stop lands 17 cm long. One image of a known grid identifies k1 (RMS 0.001 at 0.002 normalised-pixel noise). Stylised: one distortion term, axis-column floor points, known grid pose, no real lens.

A figure from its own output

Figure produced by research/lens-twin: ratio_vs_rho
lens-twin/experiments/ratio_vs_rho.svg, written by the project's own experiment code.

Paper, code and results

More in Digital twins & sim-to-real

All 164 Digital twins & sim-to-real projects →

Other research topics

Proper scoring & elicitation28Effort & peer prediction9Verification games & slashing19Detection & tolerances14Markets as routers13Prediction-market design9Paying contributors8Decentralised training systems23Digital twins & sim-to-real164LLM chip design loops40Robot manufacturing loops53Ambient AI assistant46Self-replicating manufacturing34Simulation-first design64Engineered clothing45Task-specific AI accelerators40Algorithmic chip-design loops42Open-source purpose-built robots44The software-engineering loop43Adversarial human imitation41Open-source residential construction41Autonomous multi-angle capture34Sensing, imaging and 3D31Energy supply and dense energy storage39Robot societies among people31Agentic co-design of low-cost robots27Laundry-hanging robots25Machine learning on qualitative data23Robots on the building site27Civilizations & group psychology1History & human sciences1

Produced with AI assistance (Claude). Results are from the code in this repository and are simulated or stylised unless the abstract says otherwise; nothing here implies affiliation with or endorsement by any lab, researcher or company cited. MIT licensed.