Vehicle-Based Measurement
Distance derived from standard OBD speed readings and actual response timing. The recorded campaign averaged approximately 9.4 speed readings per second.
RUC Research

Vehicle-Distance Research
Computed at the Edge
An internal RUC on Rails research project measuring distance from a vehicle's own signals. A working prototype that calculated locally, without GPS, cellular connectivity or a continuously connected phone.
Explore the Research DataRetained as company research. No commercial release planned.
Measurement Architecture
Sentinel combined vehicle speed with elapsed time to measure distance on the device itself. Its measurement protocol has no latitude, longitude or route-coordinate fields.
Standard speed readings
Actual elapsed time
Integer mm + remainder
Checksummed checkpoints
Bluetooth retrieves snapshots and research records. Distance calculation continues independently.
Distance derived from standard OBD speed readings and actual response timing. The recorded campaign averaged approximately 9.4 speed readings per second.
The dongle calculated distance independently of GPS, cellular coverage and a connected phone. Bluetooth disconnection did not stop measurement.
Research recordings captured speed, timing and device diagnostics. Coordinate logs, mapped routes and movement histories were unnecessary to the calculation.
Embedded Foundation
Custom firmware for the WiCAN OBD v340 dongle connected to the vehicle's diagnostic port and requested standard OBD speed readings over the CAN network.
Network discovery listens before diagnostic requests begin. The firmware requests vehicle readings; it does not write ECU settings or issue vehicle-control commands.
The vehicle supplied the signal.
Sentinel calculated the distance.
Distance Engine
Successive speed readings and the actual time between them feed the distance calculation. The engine accumulates integer millimetres while retaining fractional remainders.
Sample gaps over 500 ms are excluded to keep integration grounded in fresh data.
Standard OBD speed readings are integrated over actual elapsed time. Fractional distance is carried forward between samples, preserving precision as the total accumulates.
Where a vehicle supplies a supported standard OBD odometer signal, the firmware can use it as an additional reference to gradually refine the distance scale. The recorded campaign used speed integration alone.
Recorded Campaign
Across 35 recorded drives, Sentinel calculated 2,500.685 km against 2,515.4 km shown by the vehicle's trip meter. These results used speed integration alone.
Combined recorded drives
Across combined trip readings
Vehicle speed integration
Analysed across the campaign
Continuous record sequences and consistent measurement throughout the recorded sessions.
Explore the Research
See vehicle signals become distance. Explore two recorded samples showing vehicle profiles, response timing and device measurements. These charts cover the selected samples; the campaign totals above cover all 35 drives.
Data Boundaries
Research sessions recorded speed, timing, accumulated distance and device diagnostics to examine how measurement behaved. The distance engine did not require location coordinates.
Authenticated Bluetooth retrieved distance snapshots and recorded evidence. Calculation continued independently, without a live location feed or continuous server upload.
Research Distance Total
Campaign metres, roundedEngineering Investment
Custom firmware, local distance calculation, persistent storage and research analysis came together in a working vehicle-distance prototype.
C, ESP-IDF and FreeRTOS coordinate vehicle readings, distance calculation, storage and communication.
Listen-only network discovery precedes standard OBD requests. The recorded campaign used a 500 kbit/s CAN connection.
Trapezoidal integration uses actual elapsed time, integer millimetres and retained fractional remainders.
Authenticated transfer of distance snapshots and research evidence runs separately from local distance calculation.
Checksummed checkpoints preserve saved totals. On restart, the device recovers the latest valid saved record and resumes accumulation.
Sequenced records support transfer verification. Snapshot acknowledgements track transferred totals while preserving accumulated distance.
Research Outcome
Sentinel demonstrated distance calculation using vehicle data without collecting location coordinates or requiring cellular connectivity. The prototype, firmware and test results remain part of RUC on Rails' internal research.