1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 04:00:34 +00:00

Add glonass signal acquisition

This commit is contained in:
Gastd 2017-07-18 17:51:28 -03:00
parent 88fa602505
commit 239d15bfc7

View File

@ -240,18 +240,6 @@ void pcps_acquisition_cc::init()
}
}
void pcps_acquisition_cc::update_grid_doppler_wipeoffs()
{
// Create the carrier Doppler wipeoff signals
d_grid_doppler_wipeoffs = new gr_complex*[d_num_doppler_bins];
for (unsigned int doppler_index = 0; doppler_index < d_num_doppler_bins; doppler_index++)
{
d_grid_doppler_wipeoffs[doppler_index] = static_cast<gr_complex*>(volk_gnsssdr_malloc(d_fft_size * sizeof(gr_complex), volk_gnsssdr_get_alignment()));
int doppler = -static_cast<int>(d_doppler_max) + d_doppler_step * doppler_index;
update_local_carrier(d_grid_doppler_wipeoffs[doppler_index], d_fft_size, d_freq + doppler);
}
}
void pcps_acquisition_cc::update_grid_doppler_wipeoffs()
{
@ -267,8 +255,6 @@ void pcps_acquisition_cc::update_grid_doppler_wipeoffs()
}
void pcps_acquisition_cc::set_state(int state)
{
gr::thread::scoped_lock lock(d_setlock); // require mutex with work function called by the scheduler