Skip to content

Releases

Can azimuth calibration: hallway trial, 2026-11-18

Choose a tag to compare

Can azimuth calibration: hallway trial, 2026-11-18

Bench calibration of the OpenFlight IWR6843's azimuth zero, with a 57 × 145 mm aluminium can on taped marks in a hallway (firmware 1.0.4). Method and procedure: issue #2.

TL;DR: the radar's azimuth zero is off by about 4–5°, and the measurement repeats within 0.04°. The exact value isn't settled: it moves between 3.9° and 5.3° depending on which marks are fitted, because the line wasn't squared and something on one side reflects strongly. Not saved as a calibration. A re-measure with a squared line comes next. Uncorrected, 4° is about 20 yd sideways on a driver, and 11 cm of shift in the self-trigger's swing zone at the tee.

The can on the tape line, the OpenFlight in the background

Can in front of the radar The set-up from above: unit, tape measure, tape line
Tape measure on the masking-tape line Pencil marks on the masking-tape line

Set-up

Radar IWR6843LEVM in the OpenFlight enclosure, firmware 1.0.4 (eb8e34cfa20c)
Unit On the floor, no feet; antenna centre 52.5 mm up
Line Masking tape 128.5 cm from the enclosure front, roughly square to boresight (no laser)
Marks 0, ±61, ±122, ±183, ±245, ±308, ±372, ±438, ±506 mm: ±2.7° to ±21.5°
Can Aluminium, 57 mm across, 145 mm tall, upright on the floor, centre on each mark
Captures 22 positions × 5 freezes, 3 empty hallways and 3 boresights; 109 of 113 kept
Room 22.6 °C; RX chips 54 → 62 °C over the session

Results

Fit Offset (phase) ≈ Azimuth Slope Median lateral error
All 19 positions (e1 / e2 / e3 empty) −0.214 / −0.214 / −0.218 rad 3.9° 0.956 4.3–4.5 cm
Without r372, r438, r506 −0.236 rad 4.3° 1.103 3.6 cm
Only ±12.5° −0.292 rad 5.3° 1.078 2.3 cm

The azimuth column is the phase offset divided by π, on the λ/2 baseline. Within a mark, the five freezes agree within 0.04°. Boresight drifted from −0.29° to +0.13° over the session while the RX chips warmed from 54 °C to 62 °C.

What the photos and the numbers say

  • The zero is far off and very repeatable, which is what the calibration is for.
  • The line was probably not square to boresight. In the overhead photo the unit is turned relative to the tape line. A line about 15° off square would by itself put about −2.6° on r506 and −1.4° on l506, in the same direction as measured.
  • Strong reflectors at one end of the line. A bag, a metal stand and a bin sit near the outer marks. Past about 13° on that side, the radar reads 12–17° where 16–21° was taped, so it isn't seeing the can there.
  • The boresight captures don't match the tape's zero. In the ±12.5° fit, b1–b3 read about −1.5° while the ±61 mm marks either side are close to right.
  • Height reads lower the further out the can is (to −7 cm at ±0.5 m). Not trusted with a can on a hard floor, but worth a look.

Next session

Chalk line or laser for boresight, a 3-4-5 squared cross line with the tape's zero on the 0 cross, nothing metal near the outer marks, a warm-up before the first capture, and the automatic run_session.sh, which asks only when the can has to move.

In the archive

can_az_20261118/
  e1 e2 e3/            empty hallway, 5 freezes each (.l3dump)
  b1 b2 b3/            can on boresight
  r61 … r506, l61 … l506/   can at each mark (mm right / left of the 0 mark)
  _excluded/           the stopped second e2 run and one short b1 freeze
  manifest_*.json      azimuth_check input (e1/e2/e3, plus two subsets)
  report_*.json        azimuth_check output
  check_*.txt          azimuth_check printout
  summary_*.txt        angle per mark, spread, chip temperature
  photos/              session photos (JPEG, metadata stripped)
  build_manifest.py summarise.py run_session_for_next_time.sh

Reproduce on feat/iwr-self-trigger: python build_manifest.py --line-m 1.285 --height-m 0.0525, then python scripts/iwr6843/azimuth_check.py manifest_e2.json.

Studio session 2026-11-01 — IWR self-trigger beside a TrackMan 4, raw evidence

Choose a tag to compare

@HuggeK HuggeK released this 01 Nov 21:43
94de4c6

An indoor studio session on 2026-11-01 with OpenFlight on the IWR6843 self-trigger (no sound sensor), hitting into a net beside a TrackMan 4, with camera capture and --debug IWR readback. Shared so others can investigate triggering, OPS/IWR/camera timing, shot association and comparison with TrackMan.

Read first: the report (TL;DR, lessons learned, TrackMan comparison) and the PDF.

Interactive report (clips, every capture, IWR maps, logs): claude.ai artifact

Downloads:

  • OpenFlight-2026-11-01-studio-evidence.zip (655 MB): everything below. Start with DATA_GUIDE.md (setup, known issues, what each file is).
  • OpenFlight-2026-11-01-studio-iwr-and-logs.zip (73 MB): the same without camera data and videos: all IWR dumps and maps, OPS logs, session/kiosk logs, J3 log, TrackMan export, launchers, check_l3dump.py and the session tools.

In the full zip (1,217 files):

  • raw/openflight-camera/ — all 127 OV9281 camera captures (frames.npz: 91 frames at 431 fps with per-frame sensor timestamps and the trigger stamp, on the Pi's monotonic clock).
  • raw/iwr6843/ — all 124 IWR6843 .l3dump readbacks (firmware 1.0.3, 24 frames, 2 ms).
  • raw/radar_raw_*.log and raw/launcher/ — OPS243 event logs and the exact launcher (flags, SNR, net) for every run.
  • report/logs/ — kiosk logs (every trigger, OPS verdict and shot, false ones included), session JSONL (OPS raw I/Q per capture, IWR results), the J3 pin 1 / GPIO18 edge log, camera trigger stamps, the 76-shot TrackMan/SwingSync export, the shot-by-shot comparison and the notes taken during the session.
  • report/captures/ and report/iwr/ — every capture as an annotated slow-motion MP4 and an IWR range-time map; report/studio-report.html opens the interactive report locally.
  • OpenFlight-Radar-Workbench/ — the workbench at this release, with python -m openflight_bench.session triage|latency|compare and session_tools/.
  • Photos of the setup.
Headline findings
  1. The OPS243 switched from 30 to 20 kS/s at 11:37:53 (its own trigger offset 102 → 154 ms) until a restart at 12:35, so speeds read 1.49 × TrackMan in that period.
  2. The self-trigger caught 57 of 76 real shots on time; false triggers (address, waggle, practice swing, placing a ball, walking up) at SNR 1.5, 2.0 and 3.0.
  3. --iwr6843-net-m is unit → net; ball height is the ball centre above the floor the unit stands on.
  4. IWR launch matched the 0.83° baseline on the right side of the hitting area (0.90° MAE) and degraded beside the TrackMan (2.00° MAE).
  5. Real-time scheduling made no difference (S! reaches the OPS in 0.17 ± 0.01 ms).
Clocks

Camera frames, the J3 edge log and the camera trigger stamps share the Pi's CLOCK_MONOTONIC; the OPS trigger sits at sample 3072 of each capture (102 ms at 30 kS/s, 154 ms at 20 kS/s). TrackMan's clock ran 425.5 s ahead of the Pi's NTP time; compare finds that offset automatically.

🤖 Generated with Claude Code