From 37157b136403ad42bb262cae2abcb5329392d1f4 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Fri, 21 Apr 2023 16:22:37 -0700 Subject: [PATCH] locationd: log timeToFirstFix (#436) locationd ttff --- log.capnp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/log.capnp b/log.capnp index 8d3675a..8910bf2 100644 --- a/log.capnp +++ b/log.capnp @@ -1110,6 +1110,7 @@ struct LiveLocationKalman { deviceStable @22 :Bool = true; timeSinceReset @23 :Float64; excessiveResets @24 :Bool; + timeToFirstFix @25 :Float32; enum Status { uninitialized @0; @@ -1197,7 +1198,7 @@ struct GnssMeasurements { type @2 :EphemerisType; source @3 :EphemerisSource; } - + struct CorrectedMeasurement { constellationId @0 :ConstellationId; svId @1 :UInt8; @@ -1238,7 +1239,7 @@ struct GnssMeasurements { glonassIacUltraRapid @2; qcom @3; } - + enum EphemerisSource { gnssChip @0; internet @1; @@ -1257,7 +1258,7 @@ struct UbloxGnss { glonassEphemeris @5 :GlonassEphemeris; satReport @6 :SatReport; } - + struct SatReport { #received time of week in gps time in seconds and gps week iTow @0 :UInt32; @@ -1472,7 +1473,7 @@ struct UbloxGnss { p4 @27 :UInt8; freqNumDEPRECATED @28 :UInt32; - + n4 @29 :UInt8; nt @30 :UInt16; freqNum @31 :Int16;