1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-14 13:54:57 +00:00

Fix B3I tracking locking to a wrong correlation peak

Signed-off-by: Vladislav P <vladisslav2011@gmail.com>
This commit is contained in:
Vladislav P 2022-09-08 02:25:45 +03:00
parent f09da3ded6
commit d35faa02f7
No known key found for this signature in database
GPG Key ID: 631C5FD38EE8D868

View File

@ -64,6 +64,8 @@ BeidouB3iPcpsAcquisition::BeidouB3iPcpsAcquisition(
code_ = volk_gnsssdr::vector<std::complex<float>>(vector_length_);
acquisition_ = pcps_make_acquisition(acq_parameters_);
// Ugly hack to make tracking lock onto highest correlation peak
acquisition_->set_history(vector_length_);
DLOG(INFO) << "acquisition(" << acquisition_->unique_id() << ")";
if (item_type_ == "cbyte")