mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-15 14:25:00 +00:00
Considering GPS and Galileo PRN ranges in tracking pull-in test
This commit is contained in:
parent
752b4396d0
commit
06015f82b3
@ -528,8 +528,21 @@ bool TrackingPullInTest::acquire_signal(int SV_ID)
|
|||||||
code_delay_measurements_map.clear();
|
code_delay_measurements_map.clear();
|
||||||
acq_samplestamp_map.clear();
|
acq_samplestamp_map.clear();
|
||||||
|
|
||||||
|
unsigned int MAX_PRN_IDX = 0;
|
||||||
|
|
||||||
for (unsigned int PRN = 1; PRN < 37; PRN++)
|
switch (tmp_gnss_synchro.System)
|
||||||
|
{
|
||||||
|
case 'G':
|
||||||
|
MAX_PRN_IDX = 33;
|
||||||
|
break;
|
||||||
|
case 'E':
|
||||||
|
MAX_PRN_IDX = 37;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
MAX_PRN_IDX = 33;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (unsigned int PRN = 1; PRN < MAX_PRN_IDX; PRN++)
|
||||||
{
|
{
|
||||||
tmp_gnss_synchro.PRN = PRN;
|
tmp_gnss_synchro.PRN = PRN;
|
||||||
acquisition->set_gnss_synchro(&tmp_gnss_synchro);
|
acquisition->set_gnss_synchro(&tmp_gnss_synchro);
|
||||||
|
Loading…
Reference in New Issue
Block a user