1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 12:40:35 +00:00

Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into test-fine-doppler

This commit is contained in:
Carles Fernandez 2018-07-05 20:29:34 +02:00
commit 50b4a3818c

View File

@ -493,7 +493,6 @@ int pcps_acquisition_fine_doppler_cc::general_work(int noutput_items,
switch (d_state) switch (d_state)
{ {
case 0: // S0. StandBy case 0: // S0. StandBy
std::cout << "S0.";
if (d_active == true) if (d_active == true)
{ {
reset_grid(); reset_grid();
@ -506,7 +505,6 @@ int pcps_acquisition_fine_doppler_cc::general_work(int noutput_items,
} }
break; break;
case 1: // S1. ComputeGrid case 1: // S1. ComputeGrid
std::cout << "S1.";
compute_and_accumulate_grid(input_items); compute_and_accumulate_grid(input_items);
d_well_count++; d_well_count++;
if (d_well_count >= d_max_dwells) if (d_well_count >= d_max_dwells)
@ -528,10 +526,10 @@ int pcps_acquisition_fine_doppler_cc::general_work(int noutput_items,
} }
d_n_samples_in_buffer = 0; d_n_samples_in_buffer = 0;
// Record results to file if required // Record results to file if required
//if (d_dump and d_channel == d_dump_channel) if (d_dump and d_channel == d_dump_channel)
// { {
// dump_results(d_fft_size); dump_results(d_fft_size);
// } }
d_sample_counter += d_fft_size; // sample counter d_sample_counter += d_fft_size; // sample counter
consume_each(d_fft_size); consume_each(d_fft_size);
break; break;