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
- Vantage's model validation reproduces at v0.8.1: every check passed in two runs on different software stacks.71 checksreproduced71 checksreported
- An injected lidar mounting error is recovered to under a millimetre in simulation.0.701492 mmreproduced0.83487 mmreported
- CanLab's detectors find the sample capture's checksums and counters, and also report one checksum byte as a counter.7 checksumsreproduced6 countersreproduced
- A vehicle session recorded in hardware-sync mode was free-running; on the bench, with Argus, the rig held sync.33.3353 msreproduced33.3336 msreported234 s of 235 sreported29 µsreported
What is not known
- Vantage has been validated in simulation and on synthetic captures, not yet on a fitted rig's real captures.Vantage release notes v0.1.0
- CanLab's analysis suggests candidate signals rather than identifying them; a confidence figure is a match fraction over the loaded frames, not a proof.CanLab release notes v2.0.0, Status
- On the generated sample capture, CanLab reports one checksum byte as a counter.evidence canlab-detect-sample-counters
- Argus's sync figures are from the bench, with the deserializer's internal trigger and no GNSS fix; its trajectory, calibration and GNSS-outage accuracy is measured on simulated data only.Argus README.md:11-51, commit b2f9fd6
- Rig synchronisation has been shown on the bench only; the one vehicle session measured so far was free-running.evidence dcr-session-frame-period; ArgusAV README.md:11-13
Next experiment
- 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'
- 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.
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
- Vantage · Sensor rig planner for autonomous-driving data collectionValidated in simulation · TRL 5IF-TR-2026-01
- CanLab · A desktop workstation for reverse-engineering a CAN busPrototype · TRL 3–4IF-TR-2026-02
- Data Collection Rig · Six-camera, GNSS- and IMU-instrumented driving data collection rig on Jetson AGX Orin
- Argus · Data-collection application for a six-camera, hardware-synced GMSL2 rig on Jetson AGX Orin
| Quantity | Value | Conditions | Basis | Source and reproduction |
|---|---|---|---|---|
| Model validation checks passed | 71 checks | of 71 checks run, 0 failed, none skipped; 21 models; built-in sample project, variant "6-cam · v3", seed 20261027, full (not quick) run | Reproduced 2026-11-10 | command: 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 error | 0.701492 mm | validation 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-10 | command: 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 error | 0.83487 mm | validation 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-31 | site/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 passed | 540 tests | 540 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-10 | command: 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 capture | 7 checksums | bundled 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 IDs | Reproduced 2026-11-10 | command: 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 µs | on 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 fps | Reported 2026-11-12 | README.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 µs | on 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-12 | README.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 soak | 234 s of 235 s | on 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 °C | Reported 2026-11-12 | README.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 stall | 2.1, 2.4 s | on 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 s | Reported 2026-11-12 | README.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 passed | 102 tests | unit tests and simulated cameras on real GStreamer, NVENC and the GPU, on the rig | Reported 2026-11-12 | README.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 passed | 71 checks | of 71 checks run, 0 failed, none skipped; 21 models; built-in sample project, variant "6-cam · v3", seed 20261027, full (not quick) run | Reported 2026-10-31 | site/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 capture | 6 counters | bundled 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 4F1 | Reproduced 2026-11-10 | command: 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 camera | 33.3353 ms | one 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 ms | Reproduced 2026-07-31 | frames_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 ms | the README's measurement; the period of the sensors' own crystal | Reported 2026-08-28 | README.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 ms | the README's measurement; the period of the deserializer board's PWM generator, which the README calls the proof that the lock is real | Reported 2026-08-28 | README.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, recomputed | 29124.8 µs | one 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 frames | Reproduced 2026-07-31 | frames_*_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 cameras | 0 frames | on 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 six | Reported 2026-11-12 | README.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 |
Sources
- Vantage, release v0.8.1: README, docs and release notes. github.com/Sherin-SEF-AI/Vantage/tree/v0.8.1
- Argus, commit b2f9fd6 (no release tag): README. github.com/Sherin-SEF-AI/ArgusAV/tree/b2f9fd6
- CanLab, release v2.0.0: README, tests/real_data/README.md and release notes. github.com/Sherin-SEF-AI/CanLab/tree/v2.0.0