Research program · P3

Sensor rigs, calibration and vehicle networks

Can a data-collection vehicle's sensor rig and bus signals be specified, calibrated and checked against the plan from evidence, before and after the hardware is fitted?

What is known

What is not known

Next experiment

  1. Record a drive with Argus and verify sync and alignment offline, so that the rig's synchronisation is shown on the road and not only on the bench.ArgusAV README.md:226-249, 'Not yet verified on hardware'
  2. Calibrate the fitted rig with a printed, measured ChArUco board and compare the result with Vantage's plan for the same rig.ArgusAV README.md:189-193; Vantage release notes v0.1.0

Why existing practice falls short

Before a data-collection vehicle is fitted, it is hard to know what its cameras and sensors will record: where the body, the rig and other sensors block them, how many pixels land on objects, and how sensitive the layout is to mounting errors (Vantage README). Without a model of the rig, these questions are answered by fabricating it and logging a first drive.

Approach

Vantage holds every sensor as a rigid pose in the vehicle frame, models what each will record in simulation, and then calibrates the real cameras and checks the installed rig and its recorded drives against the plan. Its models are tested by a validation suite that compares them with analytic solutions and published references; the author reproduced it at release v0.8.1 and 71 checks passed. One of them recovers a lidar mounting error injected into a simulated capture to within 0.701492 mm in the author’s run and 0.83487 mm in the report committed with v0.7.0; the two runs differ and both are shown.

A ChArUco-style target, 7 × 5 squares: chessboard corners give sub-pixel points and the markers identify each corner, so one target ties every camera on a rig to the same frame. Schematic; the marker patterns are illustrative.

CanLab works on the vehicle’s bus. Its offline analysis narrows the search for counters, checksums and signal boundaries in undocumented CAN traffic, and its DBC builder checks each definition against real frames before export; transmission sits behind a gate that is disarmed by default. The author reproduced its unit suite (540 tests passed) and its detector on the generated sample capture, which found 7 checksums.

Instruments

QuantityValueConditionsBasisSource and reproduction
Model validation checks passed71 checksof 71 checks run, 0 failed, none skipped; 21 models; built-in sample project, variant "6-cam · v3", seed 20261027, full (not quick) runReproduced 2026-11-10command: vantage --validatecommit 16a6ee7 (v0.8.1) · AMD Ryzen 9 9900X (12 cores / 24 threads), 30 GB RAM, Linux 7.0.0-42 (Ubuntu 26.04.1), Python 3.12.13, CPU only (Qt offscreen)git clone https://github.com/Sherin-SEF-AI/Vantage && cd Vantage && git checkout v0.8.1 && uv venv --python 3.12 && uv pip install -e .[test] && QT_QPA_PLATFORM=offscreen .venv/bin/vantage --validate validation-out
Lidar–camera calibration recovers an injected lidar mounting error: position error0.701492 mmvalidation check lidar_calib.recovery: synthetic captures of six planned board poses, lidar mounted 15, −10, 8 mm and 0.6°, −0.4°, 0.3° off plan, lidar range noise; tolerance 3 mm; passed: yes; built-in sample project, variant "6-cam · v3", seed 20261027, full (not quick) run Differs from another source; both are listed.Reproduced 2026-11-10command: vantage --validate (value from the validation.csv the run wrote)commit 16a6ee7 (v0.8.1) · AMD Ryzen 9 9900X (12 cores / 24 threads), 30 GB RAM, Linux 7.0.0-42 (Ubuntu 26.04.1), Python 3.12.13, CPU only (Qt offscreen)git clone https://github.com/Sherin-SEF-AI/Vantage && cd Vantage && git checkout v0.8.1 && uv venv --python 3.12 && uv pip install -e .[test] && QT_QPA_PLATFORM=offscreen .venv/bin/vantage --validate validation-out
Lidar–camera calibration recovers an injected lidar mounting error: position error0.83487 mmvalidation check lidar_calib.recovery: synthetic captures of six planned board poses, lidar mounted 15, −10, 8 mm and 0.6°, −0.4°, 0.3° off plan, lidar range noise; tolerance 3 mm; passed: yes; built-in sample project, variant "6-cam · v3", seed 20261027, full (not quick) run Differs from another source; both are listed.Reported 2026-10-31site/validation/validation.csv (summary and environment: site/validation/validation.json)commit f8a7cfd · not stated (report environment: Linux x86_64, Python 3.14.4, numpy 2.3.5, scipy 1.16.3, OpenCV 4.13.0, Qt 6.11.0; generated by Vantage 0.7.0)python -m vantage.validation site/validation --methods site/methods.html (as documented in vantage/validation/__main__.py)
Unit test suite: tests passed540 tests540 passed, 0 failed, 0 skipped, 2 warnings; extras dev,ai,rest,mcp,mdf,adapters (the CI test job's set); Qt offscreen; no CAN hardware, AI keys or network services used (adapters, AI providers and buses are stand-ins or python-can's virtual bus)Reproduced 2026-11-10command: QT_QPA_PLATFORM=offscreen python -m pytest -q -rscommit 00995a4 (v2.0.0) · AMD Ryzen 9 9900X (12 cores / 24 threads), ~30 GB RAM, Linux 7.0.0-42-generic (Ubuntu), Python 3.12.13, CPU onlygit clone https://github.com/Sherin-SEF-AI/CanLab && cd CanLab && git checkout v2.0.0 && uv venv --python 3.12 && uv pip install -e '.[dev,ai,rest,mcp,mdf,adapters]' && QT_QPA_PLATFORM=offscreen .venv/bin/python -m pytest -q
Checksums detected in the bundled sample capture7 checksumsbundled sample capture (6,610 frames, 10 IDs); all 7 reported as SUM8 in byte 7 at 100% confidence, on 018, 02C, 050, 251, 260, 316, 4F1; the sample's generator script (canlab/sample_data/generate_sample.py) writes a SUM8 into byte 7 of exactly these 7 IDsReproduced 2026-11-10command: canlab-cli detect canlab/sample_data/<bundled sample>.csv --json report.jsoncommit 00995a4 (v2.0.0) · AMD Ryzen 9 9900X (12 cores / 24 threads), ~30 GB RAM, Linux 7.0.0-42-generic (Ubuntu), Python 3.12.13, CPU onlygit clone https://github.com/Sherin-SEF-AI/CanLab && cd CanLab && git checkout v2.0.0 && uv venv --python 3.12 && uv pip install -e '.[dev,ai,rest,mcp,mdf,adapters]' && .venv/bin/canlab-cli detect canlab/sample_data/*.csv --json report.json
Inter-camera frame spread, median (15 s check)29 µson the bench; frame sync from the deserializer's internal trigger (SW2 = internal); GNSS antenna indoors, no fix; `avrig check`, 15 s, all six cameras at 29.99 fpsReported 2026-11-12README.md:13-17commit b2f9fd6 (main; the repository has no release tag) · NVIDIA Jetson AGX Orin 64 GB with six GMSL2 cameras, as the README statesgit clone https://github.com/Sherin-SEF-AI/ArgusAV && cd ArgusAV && git checkout b2f9fd6 && sed -n 13,17p README.md
Frame alignment across the six cameras, median (61 s recording)29 µson the bench; frame sync from the deserializer's internal trigger (SW2 = internal); GNSS antenna indoors, no fix; 61 s recording checked offline with `verify`Reported 2026-11-12README.md:13-18commit b2f9fd6 (main; the repository has no release tag) · NVIDIA Jetson AGX Orin 64 GB with six GMSL2 cameras, as the README statesgit clone https://github.com/Sherin-SEF-AI/ArgusAV && cd ArgusAV && git checkout b2f9fd6 && sed -n 13,18p README.md
Seconds with frame sync LOCKED in a 4-minute soak234 s of 235 son the bench; frame sync from the deserializer's internal trigger (SW2 = internal); GNSS antenna indoors, no fix; 0 drops, 0 restarts, CPU 28 %, 54 to 57 °CReported 2026-11-12README.md:13-19commit b2f9fd6 (main; the repository has no release tag) · NVIDIA Jetson AGX Orin 64 GB with six GMSL2 cameras, as the README statesgit clone https://github.com/Sherin-SEF-AI/ArgusAV && cd ArgusAV && git checkout b2f9fd6 && sed -n 13,19p README.md
Time to frames after an injected camera stall2.1, 2.4 son the bench; frame sync from the deserializer's internal trigger (SW2 = internal); GNSS antenna indoors, no fix; three injected stalls, measured from the last good frame; the other five cameras untouched; the earlier recorder took 4.6 sReported 2026-11-12README.md:13-21commit b2f9fd6 (main; the repository has no release tag) · NVIDIA Jetson AGX Orin 64 GB with six GMSL2 cameras, as the README statesgit clone https://github.com/Sherin-SEF-AI/ArgusAV && cd ArgusAV && git checkout b2f9fd6 && sed -n 13,21p README.md
Tests passed102 testsunit tests and simulated cameras on real GStreamer, NVENC and the GPU, on the rigReported 2026-11-12README.md:37commit b2f9fd6 (main; the repository has no release tag) · NVIDIA Jetson AGX Orin 64 GB with six GMSL2 cameras, as the README statesgit clone https://github.com/Sherin-SEF-AI/ArgusAV && cd ArgusAV && git checkout b2f9fd6 && sed -n 37,37p README.md
Model validation checks passed71 checksof 71 checks run, 0 failed, none skipped; 21 models; built-in sample project, variant "6-cam · v3", seed 20261027, full (not quick) runReported 2026-10-31site/validation/validation.jsoncommit f8a7cfd · not stated (report environment: Linux x86_64, Python 3.14.4, numpy 2.3.5, scipy 1.16.3, OpenCV 4.13.0, Qt 6.11.0; generated by Vantage 0.7.0)python -m vantage.validation site/validation --methods site/methods.html (as documented in vantage/validation/__main__.py)
Rolling counters detected in the bundled sample capture6 countersbundled sample capture (6,610 frames, 10 IDs); all reported as high-nibble counters wrapping at 16: byte 0 of 02C, 251, 260, 4F1, 544 and byte 7 of 4F1Reproduced 2026-11-10command: canlab-cli detect canlab/sample_data/<bundled sample>.csv --json report.jsoncommit 00995a4 (v2.0.0) · AMD Ryzen 9 9900X (12 cores / 24 threads), ~30 GB RAM, Linux 7.0.0-42-generic (Ubuntu), Python 3.12.13, CPU onlygit clone https://github.com/Sherin-SEF-AI/CanLab && cd CanLab && git checkout v2.0.0 && uv venv --python 3.12 && uv pip install -e '.[dev,ai,rest,mcp,mdf,adapters]' && .venv/bin/canlab-cli detect canlab/sample_data/*.csv --json report.json
Mean frame period, front narrow camera33.3353 msone recorded session of 468.134 s on 2026-07-31, six cameras, run in the capture software's 'hardware' sync mode; segment 3 (1792 frames); span of the host monotonic timestamps divided by the number of intervals; the three other cameras with segment-3 timestamps give 33.3353 to 33.3354 msReproduced 2026-07-31frames_cam5_10_0046_00003.csv (mono_ns)commit not applicable: a recorded session, not a repository commit · six GMSL2 cameras on an NVIDIA Jetson AGX Orin, as the DataCollectionRig repository statesThe session files are not published. From the per-frame timestamp files (frame_idx, v4l2_sequence, pts_ns, mono_ns, real_ns), the value can be recomputed as described in the conditions.
Frame period, free-running (README)33.3336 msthe README's measurement; the period of the sensors' own crystalReported 2026-08-28README.md:113-116commit 6616f93 (main; the repository has no release tag) · all six cameras on the target rig, as the README states; date and session not statedgit clone https://github.com/Sherin-SEF-AI/DataCollectionRig && cd DataCollectionRig && git checkout 6616f93 && sed -n 100,118p README.md
Frame period, frame sync on (README)33.3605 msthe README's measurement; the period of the deserializer board's PWM generator, which the README calls the proof that the lock is realReported 2026-08-28README.md:113-116commit 6616f93 (main; the repository has no release tag) · all six cameras on the target rig, as the README states; date and session not statedgit clone https://github.com/Sherin-SEF-AI/DataCollectionRig && cd DataCollectionRig && git checkout 6616f93 && sed -n 100,118p README.md
Inter-camera timestamp spread, median, recomputed29124.8 µsone recorded session of 468.134 s on 2026-07-31, six cameras, run in the capture software's 'hardware' sync mode; segment 3; the four cameras whose timestamps are in the archive (front narrow, rear narrow and two others); each front-camera frame matched to the nearest frame of every other camera on the host monotonic clock; 1762 matched framesReproduced 2026-07-31frames_*_00003.csv for four cameras (mono_ns)commit not applicable: a recorded session, not a repository commit · six GMSL2 cameras on an NVIDIA Jetson AGX Orin, as the DataCollectionRig repository statesThe session files are not published. From the per-frame timestamp files (frame_idx, v4l2_sequence, pts_ns, mono_ns, real_ns), the value can be recomputed as described in the conditions.
Dropped frames in a 61 s recording, all six cameras0 frameson the bench; frame sync from the deserializer's internal trigger (SW2 = internal); GNSS antenna indoors, no fix; frames.csv matched the video frames on all sixReported 2026-11-12README.md:13-18commit b2f9fd6 (main; the repository has no release tag) · NVIDIA Jetson AGX Orin 64 GB with six GMSL2 cameras, as the README statesgit clone https://github.com/Sherin-SEF-AI/ArgusAV && cd ArgusAV && git checkout b2f9fd6 && sed -n 13,18p README.md
Evidence for P3; the technical reports carry the full sets. “Reproduced” rows were run by the author; “Reported” rows are quoted from the repository at the commit shown.

Sources

  1. Vantage, release v0.8.1: README, docs and release notes. github.com/Sherin-SEF-AI/Vantage/tree/v0.8.1
  2. Argus, commit b2f9fd6 (no release tag): README. github.com/Sherin-SEF-AI/ArgusAV/tree/b2f9fd6
  3. CanLab, release v2.0.0: README, tests/real_data/README.md and release notes. github.com/Sherin-SEF-AI/CanLab/tree/v2.0.0