Commit Graph
11396 Commits
Author SHA1 Message Date
Carles Fernandez 4663ee50ec Merge branch 'MrCry0-feat/tracking-dump-every-code-period-next' into next 2026-11-24 18:41:10 +01:00
Carles Fernandez be7fc0a1cd Tracking: extend dump_every_code_period to the KF and FPGA blocks 2026-11-24 18:27:09 +01:00
Carles Fernandez d8910babf8 Merge branch 'feat/tracking-dump-every-code-period-next' of https://github.com/MrCry0/gnss-sdr into MrCry0-feat/tracking-dump-every-code-period-next
# Conflicts:
#	docs/CHANGELOG.md
#	src/algorithms/tracking/libs/dll_pll_conf.cc
#	src/algorithms/tracking/libs/dll_pll_conf.h
2026-11-24 18:25:15 +01:00
Carles Fernandez dd82866011 Fix CMake generation with ENABLE_FPGA=ON and tests disabled 2026-11-24 18:13:54 +01:00
Carles Fernandez c5283d4611 Merge branch 'MrCry0-feat/keep-phase-at-secondary-lock-next' into next 2026-11-24 17:37:06 +01:00
Carles Fernandez c426632182 Tracking: extend keep_phase_at_secondary_lock and ignore it for B1C 2026-11-24 17:28:21 +01:00
Carles Fernandez b35b807865 Merge branch 'feat/keep-phase-at-secondary-lock-next' of https://github.com/MrCry0/gnss-sdr into MrCry0-feat/keep-phase-at-secondary-lock-next 2026-11-24 16:43:56 +01:00
Carles Fernandez 08d3f5cb51 Fix memory errors in the PVT solver with more than 64 satellites
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.
2026-11-24 16:16:13 +01:00
Oleksandr Cryo Suvorov 4eb1894b4b tests: ignore RINEX headers when checking navigation exponents
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>
2026-11-24 14:16:38 +02:00
Oleksandr Suvorov fcdf763166 tracking: add an option to dump every code period
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>
2026-11-24 14:16:37 +02:00
Oleksandr Suvorov 984434498e tracking: add an option to keep the carrier phase at secondary lock
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>
2026-11-24 14:13:33 +02:00
Carles Fernandez 50ef5d80ad Merge branch 'ivanivanov-github-fix/doc-installed-path-in-readme' into next 2026-11-24 12:47:03 +01:00
Carles Fernandez 80b5b1d76f Merge branch 'fix/doc-installed-path-in-readme' of https://github.com/ivanivanov-github/gnss-sdr into ivanivanov-github-fix/doc-installed-path-in-readme 2026-11-24 12:46:45 +01:00
Carles Fernandez 52d29e8ec8 Fix defects detected by Coverity Scan 2026-11-24 12:42:46 +01:00
Carles Fernandez a17026fa83 Fix defects detected by Coverity Scan 2026-11-24 08:04:15 +01:00
Carles Fernandez 2b248972e4 Fix SSR orbit and clock pairing and the satellite antenna reference 2026-11-23 18:11:05 +01:00
Carles Fernandez d223693c6d Fix clang-tidy issues 2026-11-23 15:01:09 +01:00
Carles Fernandez 0dec401fe7 Fix PPP start-up failures, slip detection and SSR code bias checks 2026-11-23 14:42:37 +01:00
Carles Fernandez 41fb578c29 Fix clang-tidy issues 2026-11-23 11:49:15 +01:00
Carles Fernandez ca840b4d1a Add a script to download ANTEX files for PPP 2026-11-23 11:29:48 +01:00
Carles Fernandez 49481fc24e Add an uncombined PPP model and receiver phase clocks
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.
2026-11-23 10:53:11 +01:00
Carles Fernandez 90f2964db1 Add antenna models and SSR corrections to the PPP modes
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.
2026-11-22 15:48:30 +01:00
Carles Fernandez ae14872b3e Improve PPP initialization 2026-11-22 12:49:46 +01:00
ivanivanov-github 54028cdb03 Add build directory to Doxygen documentation path
Signed-off-by: ivanivanov-github <ivan.ivanov@polymtl.ca>
2026-11-21 01:27:41 -05:00
Carles Fernandez 1710143788 Merge branch 'improve-has' into next
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.
2026-11-20 20:18:51 +01:00
Carles Fernandez cecbc36fbb Fix PPP label and HAS-corrected count in PPP modes 2026-11-20 19:57:19 +01:00
Carles Fernandez f8aca6d9f0 Update CHANGELOG.md and README.md files 2026-11-20 19:36:36 +01:00
Carles Fernandez b4bf7c10ab Update MATLAB PVT reader 2026-11-20 19:23:06 +01:00
Carles Fernandez c982be5f62 Write RINEX files when E6 is the only Galileo signal 2026-11-20 19:06:47 +01:00
Carles Fernandez 97586d4459 Set the SSR epoch time to the reference time of the HAS corrections 2026-11-20 12:12:31 +01:00
Carles Fernandez 56cae168f4 Store HAS clock corrections of a superseded IOD Set ID 2026-11-20 11:59:17 +01:00
Carles Fernandez 6600d283dd Fast application of HAS corrections 2026-11-20 09:31:08 +01:00
Carles Fernandez fe3041c049 Fix PPP with mixed clocks 2026-11-20 09:00:02 +01:00
Carles Fernandez 8e774d881d Fix IOD Set ID dropouts 2026-11-20 08:21:00 +01:00
Carles Fernandez 71b6dc080a Fix for old C++11 2026-11-19 19:26:20 +01:00
Carles Fernandez f1b5bba254 Bump max CMake version to 4.5 2026-11-19 18:44:00 +01:00
Carles Fernandez 3cf8b81c9f Fix PVT dump reader 2026-11-19 16:12:03 +01:00
Carles Fernandez 7f4f994045 Report where Galileo HAS corrections enter the PVT solution 2026-11-19 12:43:37 +01:00
Carles Fernandez 84ca4e3533 Merge branch 'next' into improve-has 2026-11-19 10:58:51 +01:00
Carles Fernandez 2ebd0aa341 Rename MATH_CONSTANTS.h to GNSS_MATH_CONSTANTS.h
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.
2026-11-17 22:13:40 +01:00
Carles Fernandez cf5f1d431f Merge branch 'saqibkh-add-gpu-sim-ci' into next 2026-11-17 21:26:32 +01:00
Carles Fernandez bc22f50d6f CI: Run the CUDA job only on pull requests that touch the CUDA code 2026-11-17 21:03:31 +01:00
Carles Fernandez 79994e82f9 Build gnss-sdr and run all the CUDA tests on the simulated GPU
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.
2026-11-17 20:17:03 +01:00
Carles Fernandez e60e39b91a Compare the CUDA and CPU acquisition peaks modulo the code period 2026-11-17 19:55:31 +01:00
Carles Fernandez 5631c72d14 Merge branch 'add-gpu-sim-ci' of https://github.com/saqibkh/gnss-sdr into saqibkh-add-gpu-sim-ci 2026-11-17 13:54:03 +01:00
Carles Fernandez 369cd625f7 Merge branch 'edmondj-dump_flowgraph' into next 2026-11-17 10:26:46 +01:00
Carles Fernandez f42a0b1a9f Write the flow graph dump with std::ofstream
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.
2026-11-17 10:12:50 +01:00
Carles Fernandez 36297344d4 Merge branch 'dump_flowgraph' of https://github.com/edmondj/gnss-sdr into edmondj-dump_flowgraph 2026-11-17 09:06:59 +01:00
dependabot[bot] 1a104e4bc5 Bump uraimo/run-on-arch-action
Bumps the github-actions group with 1 update: [uraimo/run-on-arch-action](https://github.com/uraimo/run-on-arch-action).


Updates `uraimo/run-on-arch-action` from 3.2.1 to 3.3
- [Release notes](https://github.com/uraimo/run-on-arch-action/releases)
- [Commits](https://github.com/uraimo/run-on-arch-action/compare/v3.2.1...v3.3)

---
updated-dependencies:
- dependency-name: uraimo/run-on-arch-action
  dependency-version: '3.3'
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-17 08:22:30 +01:00
Carles Fernandez 5a2bc13001 Merge branch 'MathieuFavreau-bug/override-rinex-files' into next 2026-11-17 08:16:24 +01:00