From d35faa02f76d456eaf7b8d8caf6d55a07ddd930a Mon Sep 17 00:00:00 2001 From: Vladislav P Date: Thu, 8 Sep 2022 02:25:45 +0300 Subject: [PATCH] Fix B3I tracking locking to a wrong correlation peak Signed-off-by: Vladislav P --- .../acquisition/adapters/beidou_b3i_pcps_acquisition.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/algorithms/acquisition/adapters/beidou_b3i_pcps_acquisition.cc b/src/algorithms/acquisition/adapters/beidou_b3i_pcps_acquisition.cc index a8204a24e..9f4d0dcf8 100644 --- a/src/algorithms/acquisition/adapters/beidou_b3i_pcps_acquisition.cc +++ b/src/algorithms/acquisition/adapters/beidou_b3i_pcps_acquisition.cc @@ -64,6 +64,8 @@ BeidouB3iPcpsAcquisition::BeidouB3iPcpsAcquisition( code_ = volk_gnsssdr::vector>(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")