From 0c789dc2d14cb3679225a2f9949264efb833fbdd Mon Sep 17 00:00:00 2001 From: Gijs Koning Date: Mon, 2 May 2022 23:55:51 -0700 Subject: [PATCH] Change gnssid to constellationid (#294) * Change gnssid to constellationid and add other constellations * Update comment --- log.capnp | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/log.capnp b/log.capnp index a461595..af64957 100644 --- a/log.capnp +++ b/log.capnp @@ -1081,10 +1081,9 @@ struct GnssMeasurements { correctedMeasurements @2 :List(CorrectedMeasurement); struct CorrectedMeasurement { - # nmeaId used for debugging - nmeaId @0 :UInt8; - gnssId @1 :GnssId; - # Can be 0 if not Glonass measurement. + constellationId @0 :ConstellationId; + svId @1 :UInt8; + # Is 0 when not Glonass constellation. glonassFrequency @2 :Int8; pseudorange @3 :Float64; pseudorangeStd @4 :Float64; @@ -1095,10 +1094,15 @@ struct GnssMeasurements { satVel @8 :List(Float64); } - enum GnssId { + enum ConstellationId { + # Satellite Constellation using the Ublox gnssid as index gps @0; - glonass @1; - # other ids are not yet supported + sbas @1; + galileo @2; + beidou @3; + imes @4; + qznss @5; + glonass @6; } }