HpeGnss.xid.xml 26 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471
<?xml version="1.0" encoding="UTF-8" ?>

<specification xmlns="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
               xmlns:xid="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
               identity="HpeGnss.xid.xml">
  <title>HPE GNSS Data Definition</title>
  <comment>File contains data definitions for GNSS HPE location related datatypes.</comment>

  <import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" />
  <import ref="https://xid.location.studio/HPE/V1.1.1/HpeCore.xid.xml" local="HpeCore.xid.xml" />

  <namespace name="HPE.Gnss">
        <using namespace="Tensor"/>
        <using namespace="HPE"/>


        <enum name="Constellation" type="uint8"  default="unspecified">
            <comment>
                Specifies the specific GNSS constellation.  These are oreable values to
                be used as flags.
            </comment>
            <literal name="unspecified" value="0x00"/>
            <literal name="GPS"         value="0x01"/>
            <literal name="GLONASS"   value="0x02"/>
            <literal name="GALILEO"   value="0x03"/>
            <literal name="BEIDOU"    value="0x04"/>
            <literal name="QZSS"      value="0x05"/>
            <literal name="MBS_FLAG"  value="0x20"/>
            <literal name="RTLS_FLAG" value="0x40"/>
        </enum>

        <enum name="AssistanceData" type="uint8"  default="unspecified">
            <comment>
                Enumeration literals defining the types of assistance data supported.
            </comment>
            <literal name="unspecified"               value="0x00"/>
            <literal name="GpsAlmanac"                value="0x01"/>
            <literal name="GpsEphemeris"              value="0x02"/>
            <literal name="GpsUtcParameters"          value="0x03"/>
            <literal name="GpsIonosphericCorrection"  value="0x04"/>
            <literal name="AcquisitionAssistance"     value="0x05"/>
        </enum>

        <!-- Satellite ID -->
        <struct name="SatelliteId" pack="true">
            <comment>Satellite identifier specifies constellation and satellite identifier.</comment>
            <elem name ="constellation" type="Constellation" multiplicity="1"/>
            <elem name ="id" type="uint8" multiplicity="1">
                <comment>Satellite identifier: range 0 to 63.</comment>
            </elem>
        </struct>


        <!-- 
        *******************************************************
        Almanac Data Structures
        *******************************************************
        -->

        <!-- Almanac -->
        <struct name="Almanac" pack="true">
            <comment>Generalized Almanac orbit in GPS reference frame. One record per satellite.</comment>

            <elem name ="id" type="uint8" multiplicity="1">
                <comment>Satellite identifier, valid range is 0-63.</comment>
            </elem>
            <elem name ="toa"   type="uint8" multiplicity="1">
                <comment>Time of almanac in seconds. Value is integer encoded with scale factor 2^12</comment>
                <tag name="unit"  value="2^12 seconds"/>
            </elem>
            <elem name ="deltai0"   type="int16" multiplicity="1">
                <comment>Relative inclination to i0 = 0.3 semi-circles at reference time. Value is integer encoded with scale factor 2^-19</comment>
                <tag name="unit"  value="2^-19 semi-circles"/>
            </elem>
            <elem name ="OmegaDot"   type="int16" multiplicity="1">
                <comment>Rate of Right Ascension in semi-circles/sec. Value is integer encoded with scale factor 2^-38</comment>
                <tag name="unit"  value="2^-38 seconds"/>
            </elem>
            <elem name ="af0"   type="int16" multiplicity="1">
                <comment>SV clock bias in seconds. Value is integer encoded with scale factor 2^-20</comment>
                <tag name="unit"  value="2^-20 seconds"/>
            </elem>
            <elem name ="af1"   type="int16" multiplicity="1">
                <comment>SV clock bias rate in seconds/second. Value is integer encoded with scale factor 2^-38</comment>
                <tag name="unit"  value="2^-38 seconds"/>
            </elem>
            <elem name ="eccentricity"   type="uint16" multiplicity="1">
                <comment>Eccentricity of the orbit.  Value is integer encoded with scale factor 2^-21</comment>
                <tag name="unit"  value="2^-21"/>
            </elem>
            <elem name ="sqrtA"   type="uint24" multiplicity="1">
                <comment>Square root of Mean anomaly. Value is integer encoded with scale factor 2^-11</comment>
                <tag name="unit"  value="2^-11 meters^1/2"/>
            </elem>
            <elem name ="Omega0"   type="int24" multiplicity="1">
                <comment>Longitude of ascending node in semi-circles. Value is integer encoded with scale factor 2^-23</comment>
                <tag name="unit"  value="2^-23 semi-circles"/>
            </elem>
            <elem name ="omega"   type="int24" multiplicity="1">
                <comment>omega argument of perigee in semi-circles. Value is integer encoded with scale factor 2^-23</comment>
                <tag name="unit"  value="2^-23 semi-circles"/>
            </elem>
            <elem name ="M0"   type="int24" multiplicity="1">
                <comment>Mean anomaly at reference time in semi-circles. Value is integer encoded with scale factor 2^-23</comment>
                <tag name="unit"  value="2^-23 semi-circles"/>
            </elem>
            <elem name ="SvHealth"   type="uint8" multiplicity="1">
                <comment>Satellite health flags.</comment>
            </elem>
        </struct>


        <!-- Ephemeris -->
        <struct name="Ephemeris"  pack="true">
            <comment>Generalized GPS 15 element precision Keplerian orbit in GPS reference frame. One record per satellite.</comment>
            <elem name ="id" type="uint8" multiplicity="1">
                <comment>Satellite identifier, valid range is 0-63.</comment>		
            </elem>
            <elem name ="toe"   type="uint16" multiplicity="1">
                <comment>Time of Ephemeris. Value is integer encoded with scale factor 2^4</comment>
                <tag name="unit"  value="2^4 seconds"/>
            </elem>
            <elem name ="iode"   type="uint8" multiplicity="1">
                <comment>Issue of data Ephemeris. The value for comparison with the 8 LSBs of the IODC</comment>
            </elem>
            <elem name ="eccentricity"   type="uint32" multiplicity="1">
                <comment>Eccentricity of the orbit.  Value is integer encoded with scale factor 2^-33</comment>
                <tag name="unit"  value="2^-33"/>
            </elem>
            <elem name ="i0"   type="int32" multiplicity="1">
                <comment>Inclination at reference time in semi-circles. Value is integer encoded with scale factor 2^-31</comment>
                <tag name="unit"  value="2^-31 semi-circles"/>
            </elem>
            <elem name ="OmegaDot"   type="int24" multiplicity="1">
                <comment>Rate of Right Ascension in semi-circles/sec. Value is integer encoded with scale factor 2^-43</comment>
                <tag name="unit"  value="2^-43 seconds"/>
            </elem>
            <elem name ="sqrtA"   type="uint32" multiplicity="1">
                <comment>Square root of Mean anomaly. Value is integer encoded with scale factor 2^-19</comment>
                <tag name="unit"  value="2^-19 meters^1/2"/>
            </elem>
            <elem name ="Omega0"   type="int32" multiplicity="1">
                <comment>Longitude of ascending node in semi-circles. Value is integer encoded with scale factor 2^-31</comment>
                <tag name="unit"  value="2^-31 semi-circles"/>
            </elem>
            <elem name ="omega"   type="int32" multiplicity="1">
                <comment>omega argument of perigee in semi-circles. Value is integer encoded with scale factor 2^-31</comment>
                <tag name="unit"  value="2^-31 semi-circles"/>
            </elem>
            <elem name ="M0"   type="int32" multiplicity="1">
                <comment>Mean anomaly at reference time in semi-circles. Value is integer encoded with scale factor 2^-31</comment>
                <tag name="unit"  value="2^-31 semi-circles"/>
            </elem>
            <elem name ="deltan"   type="int16" multiplicity="1">
                <comment>Mean Motion Difference From Computed Value in semi-circles/sec. Value is integer encoded with scale factor 2^-43</comment>
                <tag name="unit"  value="2^-43 semi-circles"/>
            </elem>
            <elem name ="idot"   type="int16" multiplicity="1">
                <comment>Rate of Inclination in semi-circles/sec. Value is integer encoded with scale factor 2^-43</comment>
                <tag name="unit"  value="2^-43 semi-circles"/>
            </elem>
            <elem name ="Cis"   type="int16" multiplicity="1">
                <comment>Amp. Sin Correction of Inclination in radians. Value is integer encoded with scale factor 2^-29</comment>
                <tag name="unit"  value="2^-29 radians"/>
            </elem>
            <elem name ="Cic"   type="int16" multiplicity="1">
                <comment>Amp. Cosine Correction of Inclination in radians. Value is integer encoded with scale factor 2^-29</comment>
                <tag name="unit"  value="2^-29 radians"/>
            </elem>
            <elem name ="Crs"   type="int16" multiplicity="1">
                <comment>Amp. Sin Correction of orbit radius in meters. Value is integer encoded with scale factor 2^-5</comment>
                <tag name="unit"  value="2^-5 meters"/>
            </elem>
            <elem name ="Crc"   type="int16" multiplicity="1">
                <comment>Amp. Cosine Correction of orbit radius in meters. Value is integer encoded with scale factor 2^-5</comment>
                <tag name="unit"  value="2^-5 meters"/>
            </elem>
            <elem name ="Cus"   type="int16" multiplicity="1">
                <comment>Amp. Sin Correction of Latitude in radians. Value is integer encoded with scale factor 2^-29</comment>
                <tag name="unit"  value="2^-29 radians"/>
            </elem>
            <elem name ="Cuc"   type="int16" multiplicity="1">
                <comment>Amp. Cosine Correction of Latitude in radians. Value is integer encoded with scale factor 2^-29</comment>
                <tag name="unit"  value="2^-29 radians"/>
            </elem>
            <elem name ="toc"   type="uint16" multiplicity="1">
                <comment>Time of clock. Value is integer encoded with scale factor 2^4</comment>
                <tag name="unit"  value="2^4 seconds"/>
            </elem>
            <elem name ="iodc"   type="uint16" multiplicity="1">
                <comment>Issue of data Clock. </comment>
                <tag name="unit"  value="discretes"/>
            </elem>        
            <elem name ="af0"   type="int24" multiplicity="1">
                <comment>SV clock bias in seconds. Value is integer encoded with scale factor 2^-31.</comment>
                <tag name="unit"  value="2^-31 seconds"/>
            </elem>
            <elem name ="af1"   type="int16" multiplicity="1">
                <comment>SV clock bias rate in seconds/second. Value is integer encoded with scale factor 2^-43.</comment>
                <tag name="unit"  value="2^-43 seconds"/>
            </elem>
            <elem name ="af2"   type="int8" multiplicity="1">
                <comment>SV clock bias rate in seconds/second^2. Value is integer encoded with scale factor 2^-55.</comment>
                <tag name="unit"  value="2^-55 seconds"/>
            </elem>
            <elem name ="TGD"   type="int8" multiplicity="1">
                <comment>L1-L2 group delay differential in seconds.  Value is integer encoded with a scale factor 2^-31.</comment>
                <tag name="unit"  value="2^-31 seconds"/>
            </elem>
            <elem name ="SvHealth"   type="uint8" multiplicity="1">
                <comment>Satellite health flags.</comment>
            </elem>
        </struct>

        <!-- UTC Parameters -->
        <struct name="UtcParameters"  pack="true">
            <comment>Conversion data between GPS time and UTC.</comment>
            <elem name ="a0"   type="int32" multiplicity="1">
                <comment>Constant term of the polynomial in seconds. Value is integer encoded with scale factor 2^-30.</comment>
                <tag name="unit"  value="2^-30 seconds"/>
            </elem>
            <elem name ="a1"   type="int24" multiplicity="1">
                <comment>First order term of the polynomial in seconds/second. Value is integer encoded with scale factor 2^-50.</comment>
                <tag name="unit"  value="2^-50 seconds"/>
            </elem>
            <elem name ="DeltaTls"   type="int8" multiplicity="1">
                <comment>Delta time due to Leap Seconds. </comment>
                <tag name="unit"  value="seconds"/>
            </elem>
            <elem name ="tot"   type="uint8" multiplicity="1">
                <comment>Time of Utc Data. Value is integer encoded with scale factor 2^12</comment>
                <tag name="unit"  value="2^12 seconds"/>
            </elem>
            <elem name ="WNt"   type="uint8" multiplicity="1">
                <comment>UTC Reference Week Number in weeks</comment>
                <tag name="unit"  value="weeks"/>
            </elem>
            <elem name ="WNlsf"   type="uint8" multiplicity="1">
                <comment>Week Number LeapSecond Future in weeks</comment>
                <tag name="unit"  value="weeks"/>
            </elem>
            <elem name ="DN"   type="uint8" multiplicity="1">
                <comment>Day number in days</comment>
                <tag name="unit"  value="days"/>
            </elem>
            <elem name ="DeltaTlsf"   type="int8" multiplicity="1">
                <comment>Delta time due to Leap Seconds Future</comment>
                <tag name="unit"  value="seconds"/>
            </elem>
        </struct>
      
        <!-- Ionosperhic Correction -->
        <struct name="IonosphericCorrection"  pack="true">
            <comment>Klobuchar Ionospheric Correction model parameters. See ICD200 para. 20.3.3.5.2.5</comment>
            <elem name ="a0"   type="int8" multiplicity="1">
                <comment>alpha0 term of the polynomial in seconds. Value is integer encoded with scale factor 2^-30.</comment>
                <tag name="unit"  value="2^-30 seconds"/>
            </elem>
            <elem name ="a1"   type="int8" multiplicity="1">
                <comment>alpha1 term of the polynomial in seconds. Value is integer encoded with scale factor 2^-27.</comment>
                <tag name="unit"  value="2^-27 seconds"/>
            </elem>
            <elem name ="a2"   type="int8" multiplicity="1">
                <comment>alpha2 term of the polynomial in seconds. Value is integer encoded with scale factor 2^-24.</comment>
                <tag name="unit"  value="2^-24 seconds"/>
            </elem>
            <elem name ="a3"   type="int8" multiplicity="1">
                <comment>alpha3 term of the polynomial in seconds. Value is integer encoded with scale factor 2^-24.</comment>
                <tag name="unit"  value="2^-24 seconds"/>
            </elem>
            <elem name ="b0"   type="int8" multiplicity="1">
                <comment>beta0 term of the polynomial in seconds. Value is integer encoded with scale factor 2^11.</comment>
                <tag name="unit"  value="2^11 seconds"/>
            </elem>
            <elem name ="b1"   type="int8" multiplicity="1">
                <comment>beta1 term of the polynomial in seconds. Value is integer encoded with scale factor 2^14.</comment>
                <tag name="unit"  value="2^14 seconds"/>
            </elem>
            <elem name ="b2"   type="int8" multiplicity="1">
                <comment>beta2 term of the polynomial in seconds. Value is integer encoded with scale factor 2^16.</comment>
                <tag name="unit"  value="2^16 seconds"/>
            </elem>
            <elem name ="b3"   type="int8" multiplicity="1">
                <comment>beta3 term of the polynomial in seconds. Value is integer encoded with scale factor 2^16.</comment>
                <tag name="unit"  value="2^16 seconds"/>
            </elem>
        </struct>

        <!-- ConstellationData -->
        <struct name="ConstellationData">
            <comment>Grouping of constellation data. Reference frame is GPS.</comment>
            <comment>Will be extended to include other constellation data.</comment>

            <!-- this has been embedded in a device, Only add. -->
            <array name="AlmanacArray" type="Almanac"/>
            <array name="EphemerisArray" type="Ephemeris" />

            <elem name ="constellation" type="Constellation" multiplicity="1" ord="64"/>
            <elem name ="week"   type="uint16" multiplicity="1" ord="65"/>
            <elem name ="almanacs"   type="AlmanacArray" multiplicity="0..1" ord="66"/>
            <!-- the following are are decoded in C decoding API yet -->
            <elem name ="ephemeris"  type="EphemerisArray" multiplicity="0..1" ord="67"/>
            <elem name ="utc"  type="UtcParameters" multiplicity="0..1" ord="68"/>
            <elem name ="iono" type="IonosphericCorrection" multiplicity="0..1" ord="69" />
        </struct>
        
        <struct name="ConstellationSet">
            <comment>Set of ConstellationData</comment>
            <elem name ="constellationData"   type="ConstellationData" multiplicity="0..*" ord="64"/>
        </struct>





        <!-- 
        *******************************************************
        Acquisistion Assistance Data
        *******************************************************
        -->      
      
        <!-- AcqAssistElem -->
        <struct name="AcqAssistElem"  pack="true">
            <comment>Acquisistion assistance for a single satellite.</comment>
            <elem name ="id" type="SatelliteId" multiplicity="1"/>

            <elem name ="doppler0"   type="int16" multiplicity="1">
                <comment>Doppler 0th order term. Value is integer encoded with scale factor 2^-21</comment>
                <tag name="unit"  value="2^-21"/>
            </elem>
            <elem name ="doppler1"   type="int16" multiplicity="1">
                <comment>doppler first order term in Hz/sec. Value is integer encoded with scale factor 2^12</comment>
                <tag name="unit"  value="2^12 seconds"/>
            </elem>
            <elem name ="codephase"   type="uint16" multiplicity="1">
                <comment>code phase 0-1022 in 1/8 code chips. Value is integer encoded with scale factor 2^-3</comment>
                <tag name="unit"  value="2^-3 code chips"/>
            </elem>
            <elem name ="CodeCount"   type="uint16" multiplicity="1">
                <comment>Integer count of whole code epochs including the GPS bit number range 0 - 80 counts.  </comment>
                <tag name="unit"  value="code epochs"/>
            </elem>
            <elem name ="searchWindow"   type="uint8" multiplicity="1">
                <comment>Rate of right ascension in semi-circles/sec. Value is integer encoded with scale factor 2^-38</comment>
                <tag name="unit"  value="2^-38 seconds"/>
            </elem>
            <elem name ="azimuth"   type="int8" multiplicity="1">
                <comment>Azimuth in degrees.  Value is a scaled integer encoded with scale factor 2.5</comment>
                <tag name="unit"  value="2.5 degrees"/>
            </elem>
            <elem name ="elevation"   type="int8" multiplicity="1">
                <comment>Elevation in degrees.</comment>
                <tag name="unit"  value="degrees"/>
            </elem>
        </struct>

        <!-- AcqAssistSet --> 
        <struct name="AcqAssistSet">
            <comment>A set of doppler acquisition assistance elements</comment>
            <elem name="data" type="AcqAssistElem" multiplicity="1..*"  polymorphic="false"/>
        </struct>      
      

        <!-- 
        *******************************************************
        GNSS Measurement data
        *******************************************************
        -->

        <!-- CodephaseMeasurementMin-->
        <struct name="CodephaseMeasurementMin"  pack="true">
            <comment>
                Measurement of a single satellite codephase. This is a more compact version without RMS error and multipath indicator.
                These will be encoded in cno in a future version. 
            </comment>
            <elem name ="id" type="uint8" multiplicity="1">
                <comment>
                  Satellite identifier: 0 - 63. If set to 255 (0xff), the measurement is considered invalid and ignored.
                  This marks the end of measurements in fixed array sets.  See GpsCodePhaseObsMin6 for an example.
                </comment>
            </elem>
            <elem name ="cn0"   type="uint8" multiplicity="1">
                <comment>Carrier noise ratio.</comment>
                <tag name="unit"  value="ratio"/>
            </elem>
            <elem name ="doppler"   type="int16" multiplicity="1">
                <comment>Measured Doppler shift in Hz. Value is integer encoded with scale factor 0.2</comment>
                <tag name="unit"  value="0.2 Hz"/>
            </elem>
            <elem name ="codephase"   type="uint24" multiplicity="1">
                <comment>Whole and fractional parts of code phase.  Value is integer encoded with scale factor 2^-10</comment>
                <tag name="unit"  value="2^-10 code chips"/>
            </elem>
        </struct>

        <!-- CodephaseMeasurement -->
        <struct name="CodephaseMeasurement"  type="CodephaseMeasurementMin" pack="true">
            <comment>Measurement of a single satellite codephase including mpathIndicator and rmsErr.</comment>
            <elem name ="mpathIndicator"   type="uint8" multiplicity="1">
                <comment>Multipath indicator. Default value is 0.</comment>
            </elem>
            <elem name ="rmsErr"   type="uint8" multiplicity="1">
                <comment>Pseudo range RMS Error value indexed 0..63, default is 0</comment>
                <tag name="unit"  value="2.5 degrees"/>
            </elem>
        </struct>

        <!-- Observation Data types-->
        <struct name="GpsCodePhaseObs8" type="ObservationEpoch" pack="true" rttkey="HPE.ObservationType.GPS_CODEPHASE_8">
            <comment>
              Eight standard GPS code phase measurements:  9 + (9 x 8) = 81 bytes.  Mark
              the end of the unused or invalid measurements with id=255 (0xFF).  They will be ignored.
            </comment>
            <array name ="CodephaseMeasurement8" type="CodephaseMeasurement" size="8"/>
            <elem name ="measurements"   type="CodephaseMeasurement8" multiplicity="1">
            </elem>
        </struct>

        <struct name="GpsCodePhaseObsMin6" type="ObservationEpoch" pack="true" rttkey="HPE.ObservationType.GPS_CODEPHASE_MIN6">
            <comment>
              Six minimum size GPS code phase measurements:  9 + (7 x 6) = 51 bytes.
              Mark the end of the unused or invalid measurements with id=255 (0xFF).  They will be ignored.
            </comment>
            <array name ="CodephaseMeasurementMin6" type="CodephaseMeasurementMin" size="6"/>
            <elem name ="measurements"   type="CodephaseMeasurementMin6" multiplicity="1">
            </elem>
        </struct>

        <struct name="GpsCodePhaseObsMin8" type="ObservationEpoch" pack="true" rttkey="HPE.ObservationType.GPS_CODEPHASE_MIN8">
            <comment>
              Eight minimum size GPS code phase measurements:  9 + (7 x 8) = 65 bytes.
              Mark the end of the unused or invalid measurements with id=255 (0xFF).  They will be ignored.
            </comment>
            <array name ="CodephaseMeasurementMin8" type="CodephaseMeasurementMin" size="8"/>
            <elem name ="measurements"   type="CodephaseMeasurementMin8" multiplicity="1">
            </elem>
        </struct>

        <struct name="PseudorangeObservation" type="ObservationEpoch" rttkey="HPE.ObservationType.GNSS_PSEUDORANGE">
            <comment>GNSS observation data in generic format suited for variable sized input.</comment>
            <elem name ="id" type="SatelliteId" multiplicity="1"/>

            <elem name ="prr"   type="float64" multiplicity="1">
                <comment>Pseudorange rate measurement in meters per second.</comment>
                <tag name="unit"  value="meters per second"/>
            </elem>
            <elem name ="pr"   type="float64" multiplicity="1">
                <comment>Pseudorange measurement in meters.</comment>
                <tag name="unit"  value="meters"/>
            </elem>
            <elem name ="prrUncert"   type="float32" multiplicity="1">
                <comment>Pseudorange rate measurement uncertainty in meters per second. This is the one standard deviation confidence (68%) uncertainty.</comment>
                <tag name="unit"  value="meters per second"/>
            </elem>
            <elem name ="prUncert"   type="float32" multiplicity="1">
                <comment>Pseudorange measurement uncertainty in meters.  This is the one standard deviation confidence (68%) uncertainty.</comment>
                <tag name="unit"  value="meters"/>
            </elem>
            <elem name ="cn0"   type="uint8" multiplicity="1">
                <comment>Carrier noise ratio.</comment>
                <tag name="unit"  value="ratio"/>
            </elem>
            <elem name ="mpathIndicator"   type="uint8" multiplicity="1">
                <comment>Multipath indicator. Default value is 0.</comment>
            </elem>
        </struct>      
      
    </namespace>
</specification>