openpilot0/system/loggerd
Adeeb Shihadeh df6154b591 log git commit date (#31490)
* log git commit date

* unix ts

* fix

* bump cereal

* cleanup
old-commit-hash: 0723c2bc5f
2024-02-16 13:19:10 -08:00
..
encoder encoderd: get frame size over vipc (#31276) 2024-02-02 12:53:12 -08:00
tests log git commit date (#31490) 2024-02-16 13:19:10 -08:00
.gitignore loggerd: move to system/ (#27534) 2023-03-08 11:20:49 -08:00
README.md loggerd: move to system/ (#27534) 2023-03-08 11:20:49 -08:00
SConscript Minimal build (#29600) 2023-08-24 14:58:30 -07:00
__init__.py loggerd: move to system/ (#27534) 2023-03-08 11:20:49 -08:00
bootlog.cc bootlog: remove timestamp from filename (#31187) 2024-01-26 19:17:38 -08:00
config.py Pytest: more post-test path cleanup (#30556) 2023-11-30 09:55:48 -08:00
deleter.py swaglog.py goes in common/ (#30631) 2023-12-06 17:27:51 -08:00
encoderd.cc encoderd: remove unnecessary calls to ` encoder_close()` on exit. (#28970) 2023-08-23 17:56:22 -07:00
logger.cc log git commit date (#31490) 2024-02-16 13:19:10 -08:00
logger.h bootlog: remove timestamp from filename (#31187) 2024-01-26 19:17:38 -08:00
loggerd.cc encoderd: get frame size over vipc (#31276) 2024-02-02 12:53:12 -08:00
loggerd.h encoderd: get frame size over vipc (#31276) 2024-02-02 12:53:12 -08:00
uploader.py uploader: restrict qcam upload on metered connctions (#31047) 2024-01-17 21:41:58 -08:00
video_writer.cc encoder/VideoWriter: remove unnecessary call to `avcodec_close` (#29039) 2023-08-23 20:08:19 -07:00
video_writer.h encoder/VideoWriter: remove unnecessary call to `avcodec_close` (#29039) 2023-08-23 20:08:19 -07:00
xattr_cache.py loggerd: add types to tests and use pathlib (#28943) 2023-07-14 15:12:11 +01: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.