Logging
openpilot records routes in one minute chunks called segments. A routeA route is a recording of an onroad session. starts on the rising edge of ignition and ends on the falling edge.
Check out our Python library for reading openpilot logs. Also checkout our tools to replay and view your data. These are the same tools we use to debug and develop openpilot.
For each segmentRoutes are split into one minute chunks called segments., openpilot records the following log types:
rlog.zst
rlogs contain all the messages passed amongst openpilot's processes. See cereal/services.py for a list of all the logged services. They're a zstd archive of the serialized Cap’n Proto messages.
{f,e,d}camera.hevc
Each camera stream is H.265 encoded and written to its respective file.
fcamera.hevcis the road cameraecamera.hevcis the wide road cameradcamera.hevcis the driver camera
qlog.zst & qcamera.ts
qlogs are a decimated subset of the rlogs. Check out cereal/services.py for the decimation.
qcameras are H.264 encoded, lower res versions of the fcamera.hevc. The video shown in comma connect is from the qcameras.
qlogs and qcameras are designed to be small enough to upload instantly on slow internet, yet useful enough for most analysis and debugging.