ods777/system/loggerd
FrogAi 7852d4cbbf openpilot v0.9.7 release
date: 2024-06-11T01:36:39
master commit: f8cb04e4a8b032b72a909f68b808a50936184bee
2024-06-14 08:48:06 -07:00
..
encoder openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
tests openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
.gitignore openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
README.md openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
SConscript openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
__init__.py openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
bootlog.cc openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
config.py openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
deleter.py openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
encoderd.cc openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
logger.cc openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
logger.h openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
loggerd.cc openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
loggerd.h openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
uploader.py openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
video_writer.cc openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
video_writer.h openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00
xattr_cache.py openpilot v0.9.7 release 2024-06-14 08:48:06 -07:00

README.md

loggerd

openpilot records routes in one minute chunks called segments. A route 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.

log types

For each segment, openpilot records the following log types:

rlog.bz2

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 bzip2 archive of the serialized capnproto messages.

{f,e,d}camera.hevc

Each camera stream is H.265 encoded and written to its respective file.

  • fcamera.hevc is the road camera
  • ecamera.hevc is the wide road camera
  • dcamera.hevc is the driver camera

qlog.bz2 & 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 and store forever, yet useful enough for most analysis and debugging.