mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-16 05:00:35 +00:00
debug
This commit is contained in:
parent
9533662a0e
commit
58dd5428a8
@ -399,6 +399,7 @@ std::pair<Gnss_Synchro, Gnss_Synchro> hybrid_observables_cc::find_closest(std::d
|
|||||||
invalid_data.Flag_valid_pseudorange = false;
|
invalid_data.Flag_valid_pseudorange = false;
|
||||||
result.first = invalid_data;
|
result.first = invalid_data;
|
||||||
result.second = invalid_data;
|
result.second = invalid_data;
|
||||||
|
std::cout << text_red << data.at(index).Signal << text_reset << std::endl;
|
||||||
}
|
}
|
||||||
else if(delta_t < 0.0)
|
else if(delta_t < 0.0)
|
||||||
{
|
{
|
||||||
@ -406,6 +407,7 @@ std::pair<Gnss_Synchro, Gnss_Synchro> hybrid_observables_cc::find_closest(std::d
|
|||||||
result.first.Flag_valid_pseudorange = true;
|
result.first.Flag_valid_pseudorange = true;
|
||||||
result.second = data.at(index - 1);
|
result.second = data.at(index - 1);
|
||||||
result.second.Flag_valid_pseudorange = true;
|
result.second.Flag_valid_pseudorange = true;
|
||||||
|
std::cout << text_green << data.at(index).Signal << text_reset << std::endl;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -413,6 +415,7 @@ std::pair<Gnss_Synchro, Gnss_Synchro> hybrid_observables_cc::find_closest(std::d
|
|||||||
result.first.Flag_valid_pseudorange = true;
|
result.first.Flag_valid_pseudorange = true;
|
||||||
result.second = data.at(index);
|
result.second = data.at(index);
|
||||||
result.second.Flag_valid_pseudorange = true;
|
result.second.Flag_valid_pseudorange = true;
|
||||||
|
std::cout << text_green << data.at(index).Signal << text_reset << std::endl;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user