openpilot0/system/loggerd
Justin Newberry 661132be5a Pytest: more post-test path cleanup (#30556)
* test cleanup

* missed this one

* remove that

* static class
old-commit-hash: 4086795c29
2023-11-30 09:55:48 -08:00
..
encoder encoderd: fix crash when filename is null (#29748) 2023-09-01 11:51:59 -07:00
tests one more 2023-11-18 22:22:31 -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 System: use paths for download folders too (#29818) 2023-09-07 12:49:03 -07:00
config.py Pytest: more post-test path cleanup (#30556) 2023-11-30 09:55:48 -08:00
deleter.py System: cleanup paths to use a common class (#29816) 2023-09-07 11:32:47 -07:00
encoderd.cc encoderd: remove unnecessary calls to ` encoder_close()` on exit. (#28970) 2023-08-23 17:56:22 -07:00
logger.cc loggerd: c++ LoggerState (#25869) 2023-11-18 22:11:13 -08:00
logger.h loggerd: c++ LoggerState (#25869) 2023-11-18 22:11:13 -08:00
loggerd.cc loggerd: c++ LoggerState (#25869) 2023-11-18 22:11:13 -08:00
loggerd.h cpplint: `build/include_what_you_use` (#29556) 2023-08-23 13:25:17 -07:00
uploader.py System: cleanup paths to use a common class (#29816) 2023-09-07 11:32:47 -07: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.