Research program · P4

Simulation to vehicle

How far are simulated drives from real camera data, and what must hold before a model or stack tested in simulation is run on vehicle hardware?

What is known

What is not known

Next experiment

  1. Run the gated deployment pipeline and the hardware-in-the-loop acceptance run on a real Jetson AGX Orin, so that latency and accuracy come from the target device.Falcon Autonomy docs/deploy.md and docs/roadmap.md, v2.3.0
  2. Extend the sim-to-real measure from camera appearance to lidar and radar.Falcon Autonomy docs/sim-to-real.md, Limits

Why simulation alone is not enough

The scenarios that matter on Indian roads, such as two-wheelers filtering between lanes, cattle in the lane or a bus pulling out across traffic, are rare in recorded data and unsafe to stage, so they have to be produced in simulation; the open question is how much of a simulated result carries over to a vehicle.

Approach

The program runs on Falcon Autonomy, a desktop application around the CARLA 0.9.16 simulator that builds or imports a world, drives it, scripts and searches scenarios, generates labelled data, trains and evaluates models, and tests a stack in closed loop. Its scenario library includes 8 scenarios written for Indian roads. Scenario runs default to kinematic motion, under which the documented built-ins repeat bit for bit with the same seed (11 scenarios).

The gap to real data is measured, not assumed. Against public KITTI drives, CARLA day images sit at a Fréchet distance of 184.8 FD (ResNet-50 ImageNet features), where two halves of the real set sit at 23.1 FD (ResNet-50 ImageNet features); at night, against held-out dashcam frames, the distance is 181.3 FD (ResNet-50 ImageNet features) against a floor of 29.8 FD (ResNet-50 ImageNet features).

The path to the vehicle is built but not yet closed on target hardware. A hardware-in-the-loop session on a simulated device returns the control 23.67 ms after the step began (median, x264 transport), within the 50 ms step. The deployment pipeline’s release gate, run with onnxruntime standing in for TensorRT, holds an INT8 engine to 0.935 ratio (AP / reference AP) of the reference accuracy on synthetic drives and fails it on that criterion.

The full account is in report IF-TR-2026-05.

Instruments

QuantityValueConditionsBasisSource and reproduction
Built-in scenarios for Indian roads8 scenariosthe INDIAN tuple in falcon_autonomy/core/scenarios.py at the release tag, all present in LIBRARY: two-wheeler filtering, jaywalker behind a bus, wrong-way scooter, bus pulling out, stray cattle, handcart in the kerb lane, autorickshaw cut-in, monsoon waterlogged road Differs from another source; both are listed.Reproduced 2026-11-10falcon_autonomy/core/scenarios.pycommit 5d73101 (v2.3.0) · AMD Ryzen 9 9900X (12 cores / 24 threads), Linux 7.0.0-42-generic (Ubuntu), Python 3.12.13, CPU onlygit clone https://github.com/Sherin-SEF-AI/Falcon-Autonomy && cd Falcon-Autonomy && git checkout v2.3.0 && python3 -c "import ast; t=ast.parse(open('falcon_autonomy/core/scenarios.py').read()); print([len(n.value.keys) for n in t.body if isinstance(n, ast.Assign) and getattr(n.targets[0], 'id', '') == 'LIBRARY'])"
Built-in scenarios that repeat bit for bit with kinematic motion11 scenariosof 11 built-ins, each run twice with the same seed on the same CARLA 0.9.16 server (Town10HD_Opt); every trajectory identical; with CARLA vehicle physics instead the ego drifted 3 cm (no controller) to 0.4 m (lane follower) within 12 s Differs from another source; both are listed.Reported 2026-10-29docs/scenarios.mdcommit 647b70f (v2.2.0) · not stated ("the reference machine")not documented
Sim-to-real Fréchet distance, CARLA day vs KITTI184.8 FD (ResNet-50 ImageNet features)Two Falcon drives on a real CARLA 0.9.16 server (Town10HD and an imported OpenStreetMap world, 1280 × 720, ClearNoon; 240 images in all) against 240 images of three KITTI raw drives (left colour camera); seed 0; measured 2026-10-28 per the doc; real-vs-real floor 23.1 (120 against 120 images); not comparable with published FIDReported 2026-10-30docs/sim-to-real.mdcommit 5d73101 (v2.3.0) · not stated (a real CARLA 0.9.16 server)git clone https://github.com/Sherin-SEF-AI/Falcon-Autonomy && cd Falcon-Autonomy && git checkout v2.3.0 && pip install -e . && falcon gap --fetch --workspace W && falcon gap --sim RUN... --real kitti_raw:PATH --out DIR --features --workspace W --match
Real-vs-real Fréchet distance floor, KITTI against KITTI (day comparison)23.1 FD (ResNet-50 ImageNet features)the same distance between two random halves of the real set at the same set sizes (120 against 120 images); the doc reports each FD next to this floor because the values are not comparable with published FID; Two Falcon drives on a real CARLA 0.9.16 server (Town10HD and an imported OpenStreetMap world, 1280 × 720, ClearNoon; 240 images in all) against 240 images of three KITTI raw drives (left colour camera); seed 0; measured 2026-10-28 per the doc; real-vs-real floor 23.1 (120 against 120 images); not comparable with published FIDReported 2026-10-30docs/sim-to-real.mdcommit 5d73101 (v2.3.0) · not stated (a real CARLA 0.9.16 server)git clone https://github.com/Sherin-SEF-AI/Falcon-Autonomy && cd Falcon-Autonomy && git checkout v2.3.0 && pip install -e . && falcon gap --fetch --workspace W && falcon gap --sim RUN... --real kitti_raw:PATH --out DIR --features --workspace W --match
Sim-to-real Fréchet distance, CARLA night vs the owner's night dashcam frames181.3 FD (ResNet-50 ImageNet features)Two CARLA 0.9.16 night drives (ClearNight, 60 s at 10 frames/s, 640 × 360, vehicle lights on; Town10HD and an imported OpenStreetMap world) against held-out night frames of the owner's own dashcam (sun below −6°); 300 images a side, seed 0; real-vs-real floor 29.8; KD 0.117 ± 0.004 against −0.001 (150 against 150 images); measured 2026-10-29 per the docReported 2026-10-30docs/sim-to-real.mdcommit 5d73101 (v2.3.0) · not stated (a real CARLA 0.9.16 server)git clone https://github.com/Sherin-SEF-AI/Falcon-Autonomy && cd Falcon-Autonomy && git checkout v2.3.0 && pip install -e . && falcon gap --sim RUN... --real dashcam:PATH --out DIR --features --workspace W
Real-vs-real Fréchet distance floor, dashcam night frames against themselves (night comparison)29.8 FD (ResNet-50 ImageNet features)the same distance between two random halves of the real set at the same set sizes (150 against 150 images); the doc reports each FD next to this floor because the values are not comparable with published FID; Two CARLA 0.9.16 night drives (ClearNight, 60 s at 10 frames/s, 640 × 360, vehicle lights on; Town10HD and an imported OpenStreetMap world) against held-out night frames of the owner's own dashcam (sun below −6°); 300 images a side, seed 0; real-vs-real floor 29.8; KD 0.117 ± 0.004 against −0.001 (150 against 150 images); measured 2026-10-29 per the docReported 2026-10-30docs/sim-to-real.mdcommit 5d73101 (v2.3.0) · not stated (a real CARLA 0.9.16 server)git clone https://github.com/Sherin-SEF-AI/Falcon-Autonomy && cd Falcon-Autonomy && git checkout v2.3.0 && pip install -e . && falcon gap --sim RUN... --real dashcam:PATH --out DIR --features --workspace W
Hardware-in-the-loop step start to control at the simulation, x264 transport (median)23.67 msFalcon's own CARLA 0.9.16 server (8 GB cap, Epic), Town10HD, 10 traffic vehicles, seed 7, 60 s at 20 Hz (1200 steps), camera 1280 × 720 H.264 at 8 Mbit/s, 32-channel lidar over TCP, agent decoding with avdec_h264 on CPU; 2026-10-28; x264 transport; p95 47.13 ms; load average 9–15 on the host during these sessions (other projects' test suites); network stages are loopbackReported 2026-10-29docs/hardware.mdcommit 6b0c2c2 · AMD Ryzen 9 9900X (24 threads), NVIDIA RTX 5080 (driver 595.99), GStreamer 1.28.2; simulated device on the same host (loopback network); machine shared, 1-minute load average 9–15git clone https://github.com/Sherin-SEF-AI/Falcon-Autonomy && cd Falcon-Autonomy && git checkout v2.3.0 && pip install -e . && falcon hil session PROJECT (simulated device; exact flags for the five transports not documented)
INT8 engine AP relative to the ONNX reference (simulated device, synthetic drives)0.935 ratio (AP / reference AP)Synthetic drives from the tests (five drives of six 128 × 96 frames, a 4-node ONNX detector); 30 evaluation frames, 10 calibration frames; entropy-calibrated QDQ int8; 95 % interval [0.898, 0.967]; 300 bootstrap resamples, seed 0; reference AP 0.925 [0.898, 0.970]; the release gate fails it on accuracy (interval below 0.98)Reported 2026-10-29docs/deploy.mdcommit 0367045 (v2.2.0..v2.3.0; unchanged at v2.3.0) · AMD Ryzen 9 9900X CPU (shared with other jobs), onnxruntime 1.28 as a simulated device: not TensorRT, not a Jetson AGX Oringit clone https://github.com/Sherin-SEF-AI/Falcon-Autonomy && cd Falcon-Autonomy && git checkout v2.3.0 && pip install -e . && python3 -m pytest tests/test_deploy.py (the doc attributes these numbers to the tests; the tests do not print them)
Sim-to-real Fréchet distance after appearance matching, CARLA day vs KITTI195.3 FD (ResNet-50 ImageNet features)Two Falcon drives on a real CARLA 0.9.16 server (Town10HD and an imported OpenStreetMap world, 1280 × 720, ClearNoon; 240 images in all) against 240 images of three KITTI raw drives (left colour camera); seed 0; measured 2026-10-28 per the doc; after the fixed colour/blur/noise appearance matching (FD before: 184.8; KD after: 0.124)Reported 2026-10-30docs/sim-to-real.mdcommit 5d73101 (v2.3.0) · not stated (a real CARLA 0.9.16 server)git clone https://github.com/Sherin-SEF-AI/Falcon-Autonomy && cd Falcon-Autonomy && git checkout v2.3.0 && pip install -e . && falcon gap --fetch --workspace W && falcon gap --sim RUN... --real kitti_raw:PATH --out DIR --features --workspace W --match
Evidence for P4; 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. Falcon Autonomy, release v2.3.0: README, docs and release notes. github.com/Sherin-SEF-AI/Falcon-Autonomy/tree/v2.3.0
  2. A. Dosovitskiy, G. Ros, F. Codevilla, A. López, V. Koltun. CARLA: An Open Urban Driving Simulator. CoRL 2017. proceedings.mlr.press/v78/dosovitskiy17a.html