telemetry: diff-based CSV logger with ZMQ IPC

- telemetry.py: client library, tlog(group, data) sends JSON over ZMQ PUSH
- telemetryd.py: collector process, diffs against previous state per group,
  writes only changed values to /data/log2/{session}/telemetry.csv
- Registered as always-run managed process in process_config.py

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-12 23:41:16 +00:00
parent 36221c4b10
commit e3bdae8b5e
3 changed files with 102 additions and 0 deletions

View File

@@ -109,6 +109,7 @@ procs = [
# ClearPilot processes
NativeProcess("dashcamd", "selfdrive/clearpilot", ["./dashcamd"], dashcam_should_run),
PythonProcess("telemetryd", "selfdrive.clearpilot.telemetryd", always_run),
]
managed_processes = {p.name: p for p in procs}