Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Gnss Navigation Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-gnss-navigation-knowledge-patch)
---
name: gnss-navigation-knowledge-patch
description: GNSS
version: null
license: MIT
metadata:
author: Nevaberry
---
# GNSS Navigation
Load this skill when implementing GNSS signal or navigation-message decoding,
integrating RTK or PPP corrections, modeling atmospheric and multipath errors,
using Galileo services and OSNMA, analyzing Android measurements, or configuring
ZED-F9P receivers and timing interfaces.
## Reference index
| Reference | Topics |
| --- | --- |
| [Atmosphere and multipath](references/atmosphere-and-multipath.md) | Clock-reference pairs, second-order ionosphere, SBAS troposphere, PPP wet-delay states, multipath diagnostics and ground-track repeats |
| [Augmentation, corrections, and products](references/augmentation-corrections-and-products.md) | GBAS, SBAS, DGNSS, network RTK, RTCM, SPARTN, IGS SSR, RINEX, precise products and archive names |
| [Constellation signals](references/constellation-signals.md) | GPS, Galileo, BeiDou and GLONASS signal replicas, bandwidths, codes, navigation framing and almanacs |
| [Galileo services and OSNMA](references/galileo-services-and-osnma.md) | HAS, search and rescue, trust provisioning, authentication, startup state, service status and notices |
| [Receiver software and timing](references/receiver-software-and-timing.md) | Classic u-center base setup, MPG20X timing, Android raw measurements, GNSS Analysis and GNSS-SDR |
| [ZED-F9P operations](references/zed-f9p-operations.md) | Variants, configuration, RTK, SPARTN, CLAS, navigation validity, host ports, logging, timing, OSNMA and board integration |
## Compatibility changes and service availability
RTCM 2.3 uses 30-bit words. RTCM 3 has incompatible framing and requires a
separate decoder. See the correction-format reference for message IDs.
The SPARTN version table marks releases before 2.0.3 as deprecated; use 2.0.3
for Galileo E5 and E6 support. ZED-F9P implements a subset of SPARTN 2.0.1
from HPG 1.30; its supported messages and authentication limits are in the
receiver reference.
ZED-F9P HPG L1L5 1.40 omits legacy GPS and GLONASS observations `1001–1004`
and `1009–1012` and the moving-base messages. Check incoming message types
with `UBX-RXM-RTCM`.
GNSS Analysis 4.6.0.1 removes the Mission Planner tab. Its release notes point
to external GNSS mission-planning tools.
Maritime DGPS service retirements: US Nationwide DGPS ended in June 2020,
Australia on 1 July 2020, UK and Ireland in March 2022, and Canada on
15 December 2022. MSAS moved from MTSAT to QZS-3 in April 2020.
GPS L5 can be tracked during pre-operational rollout; check operational
service status separately for safety-of-life use. CHIMERA is a proposed L1C
enhancement intended to detect spoofed signals and support location verification.
## Configure a ZED-F9P and its output ports
Use `UBX-CFG-VALSET`, `VALGET`, and `VALDEL` for the configuration database.
RAM lasts until reset or power-down, BBR while backup power is present, and
flash provides persistent settings. Wait for each configuration response before
the next write; back-to-back commands can pause input processing.
Enable both constellation and signal keys under `CFG-SIGNAL-*`, pairing bands
except for permitted GPS L1-only and BeiDou B1-only combinations. QZSS requires
GPS; SBAS requires GPS or Galileo. Unsupported combinations return
`UBX-ACK-NAK` and can emit `inv sig cfg`.
Set the port-specific `CFG-MSGOUT-*` key and enable the matching output protocol.
`CFG-UART1OUTPROT-UBX=1` with `CFG-MSGOUT-UBX_NAV_PVT_UART1=2` emits PVT every
second navigation epoch. Nonperiodic `UBX-INF-*` and NMEA TXT use `CFG-INFMSG-*`.
Both UARTs default to 38400 baud, 8N1. Keep UART1 or another full host interface
available for startup output, firmware loading, safeboot, and backup functions.
After changing baud, wait about 100 ms before sending at the new rate.
## Establish a base and a consistent RTCM stream
For a temporary ZED-F9P base, use this `UBX-CFG-VALSET` example and monitor
`UBX-NAV-SVIN`. To establish corrected base coordinates, apply corrections in
rover mode first, then enter the result as a fixed base position.
```text
CFG-TMODE-MODE = SURVEY_IN
CFG-TMODE-SVIN_MIN_DUR = 60 # seconds
CFG-TMODE-SVIN_ACC_LIMIT = 50000 # 5 m in 0.1 mm units
```
In classic u-center base setup, survey-in requires both minimum observation
time and the accuracy threshold. RTCM `1005` starts after survey-in succeeds,
even if observation messages appear earlier. A base coordinate error carries
into the rover's absolute position; update coordinates whenever the base moves.
For ZED-F9P, match the station ID in `1005` or `1006` to the MSM observations.
Supply `1230` or `1033` for GLONASS ambiguity fixing, otherwise those ambiguities
remain float. Use one MSM type across constellations, the same observation rate,
and identical RTCM output settings on every enabled port. The reference-position
message can have a separate, slower cadence.
For a VRS mountpoint, return rover GGA to the caster. If the NTRIP client uses
UART2, enable NMEA output in `UBX-CFG-PRT` and GGA on that port while keeping
RTCM input enabled. The example feed with `1005`, `1077`, `1087`, and `1230`
uses roughly 500 bytes/s as an initial backhaul budget.
## Check RTK validity and moving-base heading
Check `UBX-NAV-PVT.gnssFixOK` before consuming a position. Ordinary input and
position output filters apply to ordinary fixes; the RTK engine handles float
and fixed validity internally. Beyond roughly 10 km from the correction station,
a ZED-F9P can retain an RTK fix with degraded accuracy and a baseline warning.
RMC and GNS distinguish float and fixed with `F` and `R`; GLL and VTG report
`D` for both. On `RTK_STAT`, blinking means valid corrections without a fixed
solution, steady low means fixed, and high means no carrier solution.
For moving bases, send `4072.0` every observation epoch and match measurement
and navigation rates. HPG 1.12 requires MSM7 and `4072.1`; from HPG 1.13 use
MSM4 or MSM7 and omit `4072.1`. Aim for latency below the navigation period
minus 50 ms. Gate heading on `UBX-NAV-RELPOSNED.relPosValid` and
`relPosHeadingValid`; the reference gives the HPG 1.12 matching and extrapolation limits.
## Feed SPARTN or CLAS to a ZED-F9P
Set `CFG-SPARTN-USE_SOURCE` to `IP` for raw SPARTN frames, including host-unpacked
frames, or `LBAND` for intact `UBX-RXM-PMP`. For the latter, enable both UBX and
SPARTN input on the receiving port. Inspect source, subtype, and correction use
in `UBX-RXM-COR`.
HPAC must contain a tropospheric model to reach RTK fixed. Group and embedded
authentication are unsupported. Poll `UBX-RXM-SPARTNKEY` at startup, load the
current key followed by the next key, and replenish before the last key expires.
Pass external CLAS `UBX-RXM-QZSSL6` messages unchanged. The manual recommends
a receiver reset when changing correction type among CLAS, SPARTN, and RTCM.
Corrected positions use the provider's reference frame; track correction mode
when comparing coordinates across fallback to standalone or SBAS.
## Authenticate Galileo navigation data
Provision the certified GSC Merkle root before relying on signal-delivered
public keys or authenticating an OSNMA Alert Message. Provision the active
public key with its key ID and signature algorithm, and protect stored material
against modification. Synchronize to GST before receiving and processing OSNMA;
the permitted error depends on mode and ranges from 30 to 300 seconds.
From CRC-valid nominal E1-B odd page parts, including I/NAV Spare Words, take
8 HKROOT bits and 32 MACK bits. Fifteen parts form 120-bit HKROOT and 480-bit
MACK messages. Discard fields in Dummy Messages and I/NAV Alert Pages; an
all-zero field denotes a satellite carrying no OSNMA data.
Verify global service status: `Operational` carries commitments, `Test` has no
operational guarantees, and `Don't use` prohibits authentication with broadcast
OSNMA data. Apply Open Service health rules separately. After authenticating an
OSNMA Alert Message against the Merkle root, stop OSNMA use and obtain GSC recovery instructions.
Initial Service requires at least 40 equivalent verified tag bits per data set.
`COP=0` is a dummy tag contributing no authentication. Keep the latest
authenticated data while valid under Open Service rules and newer data await
verification. See the reference for ADKD windows, same-subframe rules, and NAGU parsing.
On ZED-F9P `-05B` from HPG 1.50, enable `CFG-GAL-USE_OSNMA` and provision trust
material over the host interface. `CFG-GAL-OSNMA_TIMESYNC` defaults to requiring
trusted time: supply independently trusted time and refresh it using propagated
accuracy in `UBX-NAV-TIMETRUSTED`. The receiver uses fast MACs below 15 seconds,
slow MACs from 15 to below 165 seconds, and suspends authentication from
165 seconds of difference from broadcast time.
## Preserve time semantics and recording precision
On ZED-F9P, associate epochs with `iTOW`. For absolute UTC, check `validDate`,
`validTime`, and `fullyResolved`, plus confirmation flags when `confirmedAvai`
is set. Add signed `nano` to whole-second UTC, allowing previous-day or
previous-year rollover. Midnight with `nano=-700000` means
23:59:59.999300000 on the previous day.
A positive antenna cable delay advances the time pulse; a positive user delay
retards it. Keep both high and low intervals at least 50 ns. With
`CFG-RATE-MEAS=1000` ms and a 1 Hz pulse, each `UBX-TIM-TP` describes the next
pulse; if multiple reports precede an edge, use the last for its quantization error.
ZED-F9P flash fix logs round latitude and longitude to millionths of a degree
and time to whole seconds. For PPK, capture `UBX-RXM-RAWX` and `UBX-RXM-SFRBX` on the host.
RINEX 4.02 observation epoch tags require picosecond resolution when read or written.
## Model atmospheric errors and use precise products
TGD corrections cancel for an ionosphere-free code combination using the same
signal pair that defines the satellite clock. Check that pair before omitting
TGD for another combination. The first-order ionosphere-free combination leaves
a second-order term scaling with `1/f³` and depending on the magnetic field along the ray.
Without surface weather measurements, PPP can use a dry-delay approximation
and estimate `delta_wet` jointly with position as a random walk, with typical
process noise of `1 cm²/h`. The state also absorbs dry-model error. Use the
atmosphere reference for equations, units, and separate dry and wet mappings.
Plot `P2 - P1` and `L1 - L2` in metres for the same first-order ionospheric sign;
look for excess code fluctuations near satellite rise and set. With constrained
antenna placement, receiver processing typically handles long-delay reflections,
while the antenna typically mitigates short-delay reflections.
HAS Initial Service supplies orbit and clock corrections to broadcast ephemerides
and code biases for Galileo E1/E5a/E5b/E6 and GPS L1/L2C. Phase biases are planned
for Full Service. Apply corrections in a real-time PPP solver with the satellite
ANTEX calibration distributed in HAS metadata. Registered IDD access supplies
corrections via Ntrip independently of E6-B reception.
IGS ultra-rapid orbit files cover 24 observed and 24 predicted hours at 15-minute
intervals. For terrestrial-frame covariance, use `SOL.SNX.gz`; `CRD.SNX.gz`
omits it. The product reference gives archive paths, names, schedules, and bias formats.
## Analyze raw measurements and configure software receivers
Check Android measurement availability per device. From Android 11 (API 30),
`GnssAntennaInfo` supplies antenna corrections calibrated for the device model.
GNSS Analysis opens GNSSLogger and GPSTest raw logs; use `android_rinex` to
convert the raw-measurement CSV format for tools expecting RINEX.
GNSS Analysis can use computed mean position, entered coordinates, or an NMEA
reference PVT file for a moving test. Its weighted least-squares solution uses
the uncertainties reported with raw pseudoranges.
GNSS-SDR configures its receiver graph in a configuration file. It accepts live
USB/Ethernet RF samples or raw files, writes RINEX, serves RTCM 3.2 over TCP/IP,
and saves navigation results as KML or GeoJSON.