mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-27 01:14:51 +00:00
set the tolerance of the doppler error to Acquisition.doppler_step in the acquisition performance test
This commit is contained in:
parent
76805e5fe9
commit
fba6e2eaf7
@ -991,7 +991,7 @@ TEST_F(AcquisitionPerformanceTest, ROC)
|
|||||||
for (int i = 0; i < num_clean_executions - 1; i++)
|
for (int i = 0; i < num_clean_executions - 1; i++)
|
||||||
|
|
||||||
{
|
{
|
||||||
if (abs(clean_delay_estimation_error(i)) < 0.5 and abs(clean_doppler_estimation_error(i)) < static_cast<float>(config->property("Acquisition.doppler_step", 1)) / 2.0)
|
if (abs(clean_delay_estimation_error(i)) < 0.5 and abs(clean_doppler_estimation_error(i)) < static_cast<float>(config->property("Acquisition.doppler_step", 1)))
|
||||||
{
|
{
|
||||||
correctly_detected = correctly_detected + 1.0;
|
correctly_detected = correctly_detected + 1.0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user