The solution uses the first 64 satellites of an epoch (MAXOBS) and logs a
warning once. pntpos() and valsol() no longer read or write past their
64-entry arrays, and the GLONASS ephemeris array is sized by the number
of channels. Fixes#1172
The chi-square threshold of valsol() is defined beyond 100 degrees of
freedom (Wilson-Hilferty approximation). Fixes#1173
satposs() computes satellite positions for rover and base observations
(2*MAXOBS), so relative positioning no longer leaves base observations
out when both sets add up to more than 64.
The RINEX 4 exponent check searches the version comment as well as
navigation records. The CI version ending in HEAD-068cc29 contains
D-0, so the test fails even though the data use the correct exponent.
Limit these checks to records after END OF HEADER. Cover a matching
version comment and ensure D exponents in data are still detected.
Fixes: e52191d476 ("Add support for RINEX 4.02 observation and navigation files")
Signed-off-by: Oleksandr Cryo Suvorov <osuvorov@gnassass.com>
Signed-off-by: Oleksandr Suvorov <cryosay@gmail.com>
Once a DLL/PLL channel reaches symbol synchronization, the tracking dump
gets one record per data symbol, so the prompt correlator output of the
code periods inside a symbol is not stored: each of the 20 periods of a
GPS L1 C/A bit, or the secondary code chips of a BeiDou B1I symbol.
Tracking_XX.dump_every_code_period=true writes a record for every code
period in the extended-integration and narrow-tracking states as well.
The default is false, and the record layout is the same either way.
Signed-off-by: Oleksandr Suvorov <cryosay@gmail.com>
On a signal tracked on its pilot, the DLL/PLL tracks the carrier with
a Costas loop until it acquires the pilot's secondary code, then
switches to a four-quadrant PLL on the wiped-off pilot. When the
Costas loop holds the opposite sign to the one that PLL locks to, the
PLL pulls the carrier by half a cycle, so the prompt correlator output
changes sign a few seconds into the track (about 6 s for Galileo E1
with the default 5 s pull-in).
Tracking_XX.keep_phase_at_secondary_lock=true makes the PLL take the
wiped-off pilot with the sign found at the secondary code lock, so the
carrier keeps the phase the Costas loop held and the 180-degree
ambiguity is left to the telemetry decoder. The default is false,
which keeps the current behaviour.
Signed-off-by: Oleksandr Suvorov <cryosay@gmail.com>
Add an uncombined model to the PPP positioning modes, selected by
PVT.iono_model=Estimate_STEC, which until now left the ionosphere
uncorrected there. The filter estimates the slant ionospheric delay of
each satellite, a carrier phase ambiguity for each of its signals and
the code bias of the receiver in its second and third bands, so the
satellites with one, two or three signals all take part in the
solution; those with one do so once four or more have two.
PVT.sigma_iono sets the process noise of the ionospheric delays (0.1
m/sqrt(s) by default in this model).
Add a receiver clock for the carrier phases to all the PPP modes: one
for each system and frequency band, or pair of bands with the
ionosphere-free combination. The carrier phases of a front end can
drift with respect to its code phases, and among bands, by the same
amount for all the satellites. That degraded the solutions by meters,
or ended with the phases rejected by the innovation test. For the same
reason, the geometry-free cycle slip test now takes as a jump what
departs from the median of the satellites.
Fix the cycle slips of Galileo satellites in the second band of the
ionosphere-free combination, which were missed: the slip flags and the
geometry-free test used the first two observation slots instead of the
bands of the combination.
Add antenna models to the PPP positioning modes, with a reader of ANTEX
1.4 and 2.0 files (PVT.antex_file, PVT.receiver_antex_file, and
PVT.satellite_metadata_file for the satellites of ANTEX 2.0), the
receiver antenna type (PVT.antenna_type) and the position of its
reference point with respect to the marker (PVT.antenna_delta_*_m). The
measurements of GPS and Galileo satellites are referred to the phase
center of each signal instead of the one of the broadcast orbits and of
the Galileo HAS corrections.
Add SSR corrections received from an NTRIP caster to the PPP modes
(PVT.ntrip_client_enabled with PPP_Static or PPP_Kinematic): orbit,
clock and code bias corrections of GPS and Galileo, in RTCM SSR (1057 to
1062 and 1240 to 1245) or IGS SSR (4076) messages, applied in the same
way as the Galileo HAS corrections, which they replace.
PVT.ssr_reference_point sets the point of the satellite that the
corrected orbits refer to.
Write the GPS L2 P code bias of Galileo HAS also in the IGS SSR code
bias message, and remove the antenna file readers of RTKLIB, which were
not used.
Rework the application of Galileo HAS corrections in the PVT: consistent
sets of orbit, clock and code bias corrections, no gaps at IOD Set ID or
ephemeris updates, and corrections from the first fixes. Report the
HAS-corrected satellites in the PVT dump and monitor, fix PPP without
GPS satellites, the RTCM SSR messages generated from HAS, and RINEX
output with E6 as the only Galileo signal.
The old name shadowed CUDA's math_constants.h when the source tree is
stored in a case-insensitive filesystem, breaking the build with
-DENABLE_CUDA=ON.
Build gnss-sdr in addition to run_tests, with ENABLE_EVK1029=ON so that
cuda_ddc_engine.cu is compiled too, and run the whole CudaPcpsEngineTest
suite: MatchesCpuReferenceLongCoherentIntegration no longer depends on
FFT rounding.
Unset the CMAKE_TOOLCHAIN_FILE exported by the setup action, since
GNSS-SDR takes a toolchain file as a sign of cross-compilation. The
shared CUDA runtime that it selects is already requested explicitly.
Run the workflow on pushes to next as well, so that the simulator build
and the ccache are saved where every pull request can restore them, and
do not cancel those runs.
Refer to the actions by version tag, as the other workflows do, and
update pantheongpu/setup-pantheonsim to v0.1.10.
Add the job to the changelog and update the contact address in the
copyright notice.
Replace the C stdio calls in the GNSS-SDR.dump_flowgraph code with
std::ofstream. This removes the reliance on <cstdio>, <cstring> and
<cerrno>, which were only included transitively, and closes the file
on every path.
A failure to open or write the file is now reported with a single
warning, and the success message is logged only if the file was
actually written.