mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-10-11 18:21:51 +00:00
An application monitoring gnss-sdr (e.g. for a sky plot or a per-satellite status view) typically needs to know which satellites and signals actually contributed to the current PVT solution, and their azimuth/elevation -- none of that is currently exposed on the MonitorPvt UDP interface, only the scalar solution. Adds a repeated UsedSatellite field to MonitorPvt (proto field 37), one entry per satellite/signal used in the fix: PRN, constellation, signal ID, azimuth, elevation, and whether that satellite's signals were combined (e.g. Galileo E1+E5a iono-free). Signals are kept as separate entries rather than merged into one per-satellite record, since a receiver may track more than one signal of the same satellite independently and a consumer may care which ones specifically contributed. Populated in Rtklib_Solver::get_PVT() from RTKLIB's per-satellite azel solution (pvt_ssat[]) intersected with the observables actually used in that epoch. Signed-off-by: joebre <joel.brenner@saphyrion.ch>