diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 3bfef74ed..469feb111 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -246,6 +246,9 @@ All notable changes to GNSS-SDR will be documented in this file. nothing for `SignalSource.shm_stall_timeout_s` seconds (default 5, 0 waits forever) and, with `SignalSource.shm_stop_on_buffer_overflow=true`, when it reports a buffer overflow. Linux only. Contributed by @joebre. +- `EVK1029_Signal_Source` now skips the 16 KiB metadata header that + EVK1029_CtrlApp writes at the start of every recording, instead of decoding it + as samples. `SignalSource.seconds_to_skip` counts from the end of the header. - The accumulated carrier phase is now stored as a `double` in the tracking dumps (binary and `.mat`) of all tracking implementations, instead of a `float` whose resolution drops to 0.0625 rad at 10^6 rad. Each binary record diff --git a/src/algorithms/signal_source/adapters/evk1029_signal_source.cc b/src/algorithms/signal_source/adapters/evk1029_signal_source.cc index a05aa0c11..396f207cd 100644 --- a/src/algorithms/signal_source/adapters/evk1029_signal_source.cc +++ b/src/algorithms/signal_source/adapters/evk1029_signal_source.cc @@ -246,7 +246,9 @@ Evk1029SignalSource::Evk1029SignalSource( } else { - reader = std::make_unique(filename, bytes_to_skip); + // Recordings start with a metadata header written by EVK1029_CtrlApp + constexpr uint64_t record_header_bytes = 16384; + reader = std::make_unique(filename, record_header_bytes + bytes_to_skip); } evk1029_source_ = evk1029_make_source(std::move(reader), queue, static_cast(fs), freq_xlating_bands);