From ee7af3669a759cb948a3a4c7e1a19a6da6c5f1f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20R=C4=85czy?= Date: Wed, 2 Apr 2025 11:27:50 -0700 Subject: [PATCH] Bring back the lag message --- cereal/log.capnp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/cereal/log.capnp b/cereal/log.capnp index 593399f832..797c2cd8ac 100644 --- a/cereal/log.capnp +++ b/cereal/log.capnp @@ -2278,6 +2278,21 @@ struct LiveTorqueParametersData { useParams @12 :Bool; } +struct LiveDelayData { + lateralDelay @0 :Float32; + validBlocks @1 :Int32; + status @2 :Status; + + lateralDelayEstimate @3 :Float32; + points @4 :List(Float32); + + enum Status { + unestimated @0; + estimated @1; + invalid @2; + } +} + struct LiveMapDataDEPRECATED { speedLimitValid @0 :Bool; speedLimit @1 :Float32; @@ -2508,6 +2523,7 @@ struct Event { gnssMeasurements @91 :GnssMeasurements; liveParameters @61 :LiveParametersData; liveTorqueParameters @94 :LiveTorqueParametersData; + liveDelay @146 : LiveDelayData; cameraOdometry @63 :CameraOdometry; thumbnail @66: Thumbnail; onroadEvents @134: List(OnroadEvent);