mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 04:30:33 +00:00
Sort private members in headers
This commit is contained in:
parent
660dd594dc
commit
06ce79490b
@ -206,52 +206,60 @@ private:
|
|||||||
float estimate_input_power(gr_complex* in);
|
float estimate_input_power(gr_complex* in);
|
||||||
|
|
||||||
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
||||||
int64_t d_fs_in;
|
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
||||||
int d_samples_per_ms;
|
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
||||||
int d_sampled_ms;
|
|
||||||
int d_samples_per_code;
|
|
||||||
unsigned int d_doppler_resolution;
|
|
||||||
float d_threshold;
|
|
||||||
std::string d_satellite_str;
|
|
||||||
unsigned int d_doppler_max;
|
|
||||||
unsigned int d_doppler_step;
|
|
||||||
unsigned int d_max_dwells;
|
|
||||||
unsigned int d_well_count;
|
|
||||||
unsigned int d_fft_size;
|
|
||||||
uint64_t d_sample_counter;
|
|
||||||
std::vector<std::vector<gr_complex>> d_grid_doppler_wipeoffs;
|
std::vector<std::vector<gr_complex>> d_grid_doppler_wipeoffs;
|
||||||
unsigned int d_num_doppler_bins;
|
|
||||||
std::vector<gr_complex> d_fft_code_I_A;
|
std::vector<gr_complex> d_fft_code_I_A;
|
||||||
std::vector<gr_complex> d_fft_code_I_B;
|
std::vector<gr_complex> d_fft_code_I_B;
|
||||||
std::vector<gr_complex> d_fft_code_Q_A;
|
std::vector<gr_complex> d_fft_code_Q_A;
|
||||||
std::vector<gr_complex> d_fft_code_Q_B;
|
std::vector<gr_complex> d_fft_code_Q_B;
|
||||||
std::vector<gr_complex> d_inbuffer;
|
std::vector<gr_complex> d_inbuffer;
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
|
||||||
Gnss_Synchro* d_gnss_synchro;
|
|
||||||
unsigned int d_code_phase;
|
|
||||||
float d_doppler_freq;
|
|
||||||
float d_mag;
|
|
||||||
std::vector<float> d_magnitudeIA;
|
std::vector<float> d_magnitudeIA;
|
||||||
std::vector<float> d_magnitudeIB;
|
std::vector<float> d_magnitudeIB;
|
||||||
std::vector<float> d_magnitudeQA;
|
std::vector<float> d_magnitudeQA;
|
||||||
std::vector<float> d_magnitudeQB;
|
std::vector<float> d_magnitudeQB;
|
||||||
float d_input_power;
|
|
||||||
float d_test_statistics;
|
|
||||||
bool d_bit_transition_flag;
|
|
||||||
std::ofstream d_dump_file;
|
|
||||||
bool d_active;
|
|
||||||
int d_state;
|
|
||||||
bool d_dump;
|
|
||||||
bool d_both_signal_components;
|
|
||||||
int d_CAF_window_hz;
|
|
||||||
std::vector<float> d_CAF_vector;
|
std::vector<float> d_CAF_vector;
|
||||||
std::vector<float> d_CAF_vector_I;
|
std::vector<float> d_CAF_vector_I;
|
||||||
std::vector<float> d_CAF_vector_Q;
|
std::vector<float> d_CAF_vector_Q;
|
||||||
unsigned int d_channel;
|
|
||||||
|
std::string d_satellite_str;
|
||||||
std::string d_dump_filename;
|
std::string d_dump_filename;
|
||||||
|
|
||||||
|
std::ofstream d_dump_file;
|
||||||
|
|
||||||
|
Gnss_Synchro* d_gnss_synchro;
|
||||||
|
|
||||||
|
int64_t d_fs_in;
|
||||||
|
uint64_t d_sample_counter;
|
||||||
|
|
||||||
|
float d_threshold;
|
||||||
|
float d_doppler_freq;
|
||||||
|
float d_mag;
|
||||||
|
float d_input_power;
|
||||||
|
float d_test_statistics;
|
||||||
|
|
||||||
|
int d_state;
|
||||||
|
int d_samples_per_ms;
|
||||||
|
int d_sampled_ms;
|
||||||
|
int d_samples_per_code;
|
||||||
|
int d_CAF_window_hz;
|
||||||
|
unsigned int d_channel;
|
||||||
unsigned int d_buffer_count;
|
unsigned int d_buffer_count;
|
||||||
unsigned int d_gr_stream_buffer;
|
unsigned int d_gr_stream_buffer;
|
||||||
|
unsigned int d_doppler_resolution;
|
||||||
|
unsigned int d_doppler_max;
|
||||||
|
unsigned int d_doppler_step;
|
||||||
|
unsigned int d_max_dwells;
|
||||||
|
unsigned int d_well_count;
|
||||||
|
unsigned int d_fft_size;
|
||||||
|
unsigned int d_num_doppler_bins;
|
||||||
|
unsigned int d_code_phase;
|
||||||
|
|
||||||
|
bool d_bit_transition_flag;
|
||||||
|
bool d_active;
|
||||||
|
bool d_dump;
|
||||||
|
bool d_both_signal_components;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GNSS_SDR_GALILEO_E5A_NONCOHERENT_IQ_ACQUISITION_CAF_CC_H
|
#endif // GNSS_SDR_GALILEO_E5A_NONCOHERENT_IQ_ACQUISITION_CAF_CC_H
|
||||||
|
@ -191,39 +191,45 @@ private:
|
|||||||
int32_t doppler_shift,
|
int32_t doppler_shift,
|
||||||
int32_t doppler_offset);
|
int32_t doppler_offset);
|
||||||
|
|
||||||
|
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
||||||
|
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
||||||
|
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
||||||
|
|
||||||
|
std::vector<std::vector<gr_complex>> d_grid_doppler_wipeoffs;
|
||||||
|
std::vector<gr_complex> d_fft_code_A;
|
||||||
|
std::vector<gr_complex> d_fft_code_B;
|
||||||
|
std::vector<float> d_magnitude;
|
||||||
|
|
||||||
|
std::string d_satellite_str;
|
||||||
|
std::string d_dump_filename;
|
||||||
|
std::ofstream d_dump_file;
|
||||||
|
|
||||||
|
Gnss_Synchro* d_gnss_synchro;
|
||||||
|
|
||||||
int64_t d_fs_in;
|
int64_t d_fs_in;
|
||||||
|
uint64_t d_sample_counter;
|
||||||
|
|
||||||
|
float d_threshold;
|
||||||
|
float d_doppler_freq;
|
||||||
|
float d_mag;
|
||||||
|
float d_input_power;
|
||||||
|
float d_test_statistics;
|
||||||
|
int32_t d_state;
|
||||||
int32_t d_samples_per_ms;
|
int32_t d_samples_per_ms;
|
||||||
int32_t d_samples_per_code;
|
int32_t d_samples_per_code;
|
||||||
|
uint32_t d_channel;
|
||||||
uint32_t d_doppler_resolution;
|
uint32_t d_doppler_resolution;
|
||||||
float d_threshold;
|
|
||||||
std::string d_satellite_str;
|
|
||||||
uint32_t d_doppler_max;
|
uint32_t d_doppler_max;
|
||||||
uint32_t d_doppler_step;
|
uint32_t d_doppler_step;
|
||||||
uint32_t d_sampled_ms;
|
uint32_t d_sampled_ms;
|
||||||
uint32_t d_max_dwells;
|
uint32_t d_max_dwells;
|
||||||
uint32_t d_well_count;
|
uint32_t d_well_count;
|
||||||
uint32_t d_fft_size;
|
uint32_t d_fft_size;
|
||||||
uint64_t d_sample_counter;
|
|
||||||
std::vector<std::vector<gr_complex>> d_grid_doppler_wipeoffs;
|
|
||||||
uint32_t d_num_doppler_bins;
|
uint32_t d_num_doppler_bins;
|
||||||
std::vector<gr_complex> d_fft_code_A;
|
|
||||||
std::vector<gr_complex> d_fft_code_B;
|
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
|
||||||
Gnss_Synchro* d_gnss_synchro;
|
|
||||||
uint32_t d_code_phase;
|
uint32_t d_code_phase;
|
||||||
float d_doppler_freq;
|
|
||||||
float d_mag;
|
|
||||||
std::vector<float> d_magnitude;
|
|
||||||
float d_input_power;
|
|
||||||
float d_test_statistics;
|
|
||||||
std::ofstream d_dump_file;
|
|
||||||
bool d_active;
|
bool d_active;
|
||||||
int32_t d_state;
|
|
||||||
bool d_dump;
|
bool d_dump;
|
||||||
uint32_t d_channel;
|
|
||||||
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
|
||||||
std::string d_dump_filename;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GNSS_SDR_PCPS_8MS_ACQUISITION_CC_H
|
#endif // GNSS_SDR_PCPS_8MS_ACQUISITION_CC_H
|
||||||
|
@ -199,41 +199,51 @@ private:
|
|||||||
void reset_grid();
|
void reset_grid();
|
||||||
void update_carrier_wipeoff();
|
void update_carrier_wipeoff();
|
||||||
bool start();
|
bool start();
|
||||||
Acq_Conf acq_parameters;
|
|
||||||
int64_t d_fs_in;
|
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
||||||
int d_samples_per_ms;
|
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
||||||
int d_max_dwells;
|
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
||||||
int d_gnuradio_forecast_samples;
|
|
||||||
float d_threshold;
|
volk_gnsssdr::vector<volk_gnsssdr::vector<std::complex<float>>> d_grid_doppler_wipeoffs;
|
||||||
std::string d_satellite_str;
|
volk_gnsssdr::vector<volk_gnsssdr::vector<float>> d_grid_data;
|
||||||
int d_config_doppler_max;
|
|
||||||
int d_num_doppler_points;
|
|
||||||
int d_doppler_step;
|
|
||||||
unsigned int d_fft_size;
|
|
||||||
uint64_t d_sample_counter;
|
|
||||||
volk_gnsssdr::vector<gr_complex> d_fft_codes;
|
volk_gnsssdr::vector<gr_complex> d_fft_codes;
|
||||||
volk_gnsssdr::vector<gr_complex> d_10_ms_buffer;
|
volk_gnsssdr::vector<gr_complex> d_10_ms_buffer;
|
||||||
volk_gnsssdr::vector<float> d_magnitude;
|
volk_gnsssdr::vector<float> d_magnitude;
|
||||||
volk_gnsssdr::vector<volk_gnsssdr::vector<float>> d_grid_data;
|
|
||||||
volk_gnsssdr::vector<volk_gnsssdr::vector<std::complex<float>>> d_grid_doppler_wipeoffs;
|
arma::fmat grid_;
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
std::string d_satellite_str;
|
||||||
|
std::string d_dump_filename;
|
||||||
|
|
||||||
Gnss_Synchro* d_gnss_synchro;
|
Gnss_Synchro* d_gnss_synchro;
|
||||||
unsigned int d_code_phase;
|
|
||||||
|
Acq_Conf acq_parameters;
|
||||||
|
|
||||||
|
int64_t d_fs_in;
|
||||||
|
int64_t d_dump_number;
|
||||||
|
uint64_t d_sample_counter;
|
||||||
|
|
||||||
float d_doppler_freq;
|
float d_doppler_freq;
|
||||||
|
float d_threshold;
|
||||||
float d_test_statistics;
|
float d_test_statistics;
|
||||||
|
|
||||||
int d_positive_acq;
|
int d_positive_acq;
|
||||||
int d_state;
|
int d_state;
|
||||||
bool d_active;
|
int d_samples_per_ms;
|
||||||
|
int d_max_dwells;
|
||||||
|
int d_gnuradio_forecast_samples;
|
||||||
|
int d_config_doppler_max;
|
||||||
|
int d_num_doppler_points;
|
||||||
|
int d_doppler_step;
|
||||||
int d_well_count;
|
int d_well_count;
|
||||||
int d_n_samples_in_buffer;
|
int d_n_samples_in_buffer;
|
||||||
bool d_dump;
|
|
||||||
unsigned int d_channel;
|
unsigned int d_channel;
|
||||||
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
unsigned int d_fft_size;
|
||||||
std::string d_dump_filename;
|
unsigned int d_code_phase;
|
||||||
arma::fmat grid_;
|
|
||||||
int64_t d_dump_number;
|
|
||||||
unsigned int d_dump_channel;
|
unsigned int d_dump_channel;
|
||||||
|
|
||||||
|
bool d_active;
|
||||||
|
bool d_dump;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* pcps_acquisition_fine_doppler_cc*/
|
#endif /* pcps_acquisition_fine_doppler_cc*/
|
||||||
|
@ -149,6 +149,11 @@ public:
|
|||||||
d_threshold = threshold;
|
d_threshold = threshold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline void set_state(int32_t state)
|
||||||
|
{
|
||||||
|
d_state = state;
|
||||||
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Set maximum Doppler grid search
|
* \brief Set maximum Doppler grid search
|
||||||
* \param doppler_max - Maximum Doppler shift considered in the grid search [Hz].
|
* \param doppler_max - Maximum Doppler shift considered in the grid search [Hz].
|
||||||
@ -195,44 +200,48 @@ private:
|
|||||||
void reset_grid();
|
void reset_grid();
|
||||||
void redefine_grid();
|
void redefine_grid();
|
||||||
|
|
||||||
|
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
||||||
|
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
||||||
|
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
||||||
|
|
||||||
|
std::vector<std::vector<std::complex<float>>> d_grid_doppler_wipeoffs;
|
||||||
|
std::vector<std::vector<float>> d_grid_data;
|
||||||
|
std::vector<gr_complex> d_fft_codes;
|
||||||
|
|
||||||
|
std::string d_satellite_str;
|
||||||
|
std::string d_dump_filename;
|
||||||
|
|
||||||
|
std::ofstream d_dump_file;
|
||||||
|
|
||||||
|
Gnss_Synchro* d_gnss_synchro;
|
||||||
|
|
||||||
int64_t d_fs_in;
|
int64_t d_fs_in;
|
||||||
|
uint64_t d_sample_counter;
|
||||||
|
|
||||||
|
float d_threshold;
|
||||||
|
float d_doppler_freq;
|
||||||
|
float d_input_power;
|
||||||
|
float d_test_statistics;
|
||||||
int32_t d_samples_per_ms;
|
int32_t d_samples_per_ms;
|
||||||
int32_t d_max_dwells;
|
int32_t d_max_dwells;
|
||||||
uint32_t d_doppler_resolution;
|
|
||||||
int32_t d_gnuradio_forecast_samples;
|
int32_t d_gnuradio_forecast_samples;
|
||||||
float d_threshold;
|
|
||||||
std::string d_satellite_str;
|
|
||||||
int32_t d_doppler_max;
|
int32_t d_doppler_max;
|
||||||
int32_t d_doppler_min;
|
int32_t d_doppler_min;
|
||||||
int32_t d_config_doppler_max;
|
int32_t d_config_doppler_max;
|
||||||
int32_t d_config_doppler_min;
|
int32_t d_config_doppler_min;
|
||||||
|
|
||||||
int32_t d_num_doppler_points;
|
int32_t d_num_doppler_points;
|
||||||
int32_t d_doppler_step;
|
int32_t d_doppler_step;
|
||||||
|
int32_t d_state;
|
||||||
|
int32_t d_well_count;
|
||||||
|
uint32_t d_doppler_resolution;
|
||||||
|
uint32_t d_channel;
|
||||||
uint32_t d_sampled_ms;
|
uint32_t d_sampled_ms;
|
||||||
uint32_t d_fft_size;
|
uint32_t d_fft_size;
|
||||||
uint64_t d_sample_counter;
|
|
||||||
std::vector<gr_complex> d_fft_codes;
|
|
||||||
|
|
||||||
std::vector<std::vector<float>> d_grid_data;
|
|
||||||
std::vector<std::vector<std::complex<float>>> d_grid_doppler_wipeoffs;
|
|
||||||
|
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
|
||||||
Gnss_Synchro* d_gnss_synchro;
|
|
||||||
uint32_t d_code_phase;
|
uint32_t d_code_phase;
|
||||||
float d_doppler_freq;
|
|
||||||
float d_input_power;
|
|
||||||
float d_test_statistics;
|
|
||||||
std::ofstream d_dump_file;
|
|
||||||
int32_t d_state;
|
|
||||||
bool d_active;
|
bool d_active;
|
||||||
bool d_disable_assist;
|
bool d_disable_assist;
|
||||||
int32_t d_well_count;
|
|
||||||
bool d_dump;
|
bool d_dump;
|
||||||
uint32_t d_channel;
|
|
||||||
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
|
||||||
std::string d_dump_filename;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GNSS_SDR_PCPS_ASSISTED_ACQUISITION_CC_H
|
#endif // GNSS_SDR_PCPS_ASSISTED_ACQUISITION_CC_H
|
||||||
|
@ -186,43 +186,51 @@ private:
|
|||||||
void calculate_magnitudes(gr_complex* fft_begin, int32_t doppler_shift,
|
void calculate_magnitudes(gr_complex* fft_begin, int32_t doppler_shift,
|
||||||
int32_t doppler_offset);
|
int32_t doppler_offset);
|
||||||
|
|
||||||
|
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
||||||
|
|
||||||
|
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
||||||
|
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
||||||
|
|
||||||
|
std::vector<std::vector<gr_complex>> d_grid_doppler_wipeoffs;
|
||||||
|
std::vector<gr_complex> d_fft_code_data;
|
||||||
|
std::vector<gr_complex> d_fft_code_pilot;
|
||||||
|
std::vector<gr_complex> d_data_correlation;
|
||||||
|
std::vector<gr_complex> d_pilot_correlation;
|
||||||
|
std::vector<gr_complex> d_correlation_plus;
|
||||||
|
std::vector<gr_complex> d_correlation_minus;
|
||||||
|
std::vector<float> d_magnitude;
|
||||||
|
|
||||||
|
std::ofstream d_dump_file;
|
||||||
|
std::string d_satellite_str;
|
||||||
|
std::string d_dump_filename;
|
||||||
|
|
||||||
|
Gnss_Synchro* d_gnss_synchro;
|
||||||
|
|
||||||
int64_t d_fs_in;
|
int64_t d_fs_in;
|
||||||
|
uint64_t d_sample_counter;
|
||||||
|
|
||||||
|
float d_threshold;
|
||||||
|
float d_doppler_freq;
|
||||||
|
float d_mag;
|
||||||
|
float d_input_power;
|
||||||
|
float d_test_statistics;
|
||||||
|
|
||||||
|
int32_t d_state;
|
||||||
int32_t d_samples_per_ms;
|
int32_t d_samples_per_ms;
|
||||||
int32_t d_samples_per_code;
|
int32_t d_samples_per_code;
|
||||||
uint32_t d_doppler_resolution;
|
uint32_t d_doppler_resolution;
|
||||||
float d_threshold;
|
|
||||||
std::string d_satellite_str;
|
|
||||||
uint32_t d_doppler_max;
|
uint32_t d_doppler_max;
|
||||||
uint32_t d_doppler_step;
|
uint32_t d_doppler_step;
|
||||||
uint32_t d_sampled_ms;
|
uint32_t d_sampled_ms;
|
||||||
uint32_t d_max_dwells;
|
uint32_t d_max_dwells;
|
||||||
uint32_t d_well_count;
|
uint32_t d_well_count;
|
||||||
uint32_t d_fft_size;
|
uint32_t d_fft_size;
|
||||||
uint64_t d_sample_counter;
|
|
||||||
std::vector<std::vector<gr_complex>> d_grid_doppler_wipeoffs;
|
|
||||||
uint32_t d_num_doppler_bins;
|
uint32_t d_num_doppler_bins;
|
||||||
std::vector<gr_complex> d_fft_code_data;
|
|
||||||
std::vector<gr_complex> d_fft_code_pilot;
|
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
|
||||||
Gnss_Synchro* d_gnss_synchro;
|
|
||||||
uint32_t d_code_phase;
|
uint32_t d_code_phase;
|
||||||
float d_doppler_freq;
|
|
||||||
float d_mag;
|
|
||||||
std::vector<float> d_magnitude;
|
|
||||||
std::vector<gr_complex> d_data_correlation;
|
|
||||||
std::vector<gr_complex> d_pilot_correlation;
|
|
||||||
std::vector<gr_complex> d_correlation_plus;
|
|
||||||
std::vector<gr_complex> d_correlation_minus;
|
|
||||||
float d_input_power;
|
|
||||||
float d_test_statistics;
|
|
||||||
std::ofstream d_dump_file;
|
|
||||||
bool d_active;
|
|
||||||
int32_t d_state;
|
|
||||||
bool d_dump;
|
|
||||||
uint32_t d_channel;
|
uint32_t d_channel;
|
||||||
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
|
||||||
std::string d_dump_filename;
|
bool d_active;
|
||||||
|
bool d_dump;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GNSS_SDR_PCPS_CCCWSR_ACQUISITION_CC_H
|
#endif // GNSS_SDR_PCPS_CCCWSR_ACQUISITION_CC_H
|
||||||
|
@ -224,48 +224,6 @@ private:
|
|||||||
|
|
||||||
int init_opencl_environment(const std::string& kernel_filename);
|
int init_opencl_environment(const std::string& kernel_filename);
|
||||||
|
|
||||||
int64_t d_fs_in;
|
|
||||||
int d_samples_per_ms;
|
|
||||||
int d_samples_per_code;
|
|
||||||
uint32_t d_doppler_resolution;
|
|
||||||
float d_threshold;
|
|
||||||
std::string d_satellite_str;
|
|
||||||
uint32_t d_doppler_max;
|
|
||||||
uint32_t d_doppler_step;
|
|
||||||
uint32_t d_sampled_ms;
|
|
||||||
uint32_t d_max_dwells;
|
|
||||||
uint32_t d_well_count;
|
|
||||||
uint32_t d_fft_size;
|
|
||||||
uint32_t d_fft_size_pow2;
|
|
||||||
int* d_max_doppler_indexs;
|
|
||||||
uint64_t d_sample_counter;
|
|
||||||
std::vector<std::vector<gr_complex>> d_grid_doppler_wipeoffs;
|
|
||||||
uint32_t d_num_doppler_bins;
|
|
||||||
std::vector<gr_complex> d_fft_codes;
|
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
|
||||||
Gnss_Synchro* d_gnss_synchro;
|
|
||||||
uint32_t d_code_phase;
|
|
||||||
float d_doppler_freq;
|
|
||||||
float d_mag;
|
|
||||||
std::vector<float> d_magnitude;
|
|
||||||
float d_input_power;
|
|
||||||
float d_test_statistics;
|
|
||||||
bool d_bit_transition_flag;
|
|
||||||
std::ofstream d_dump_file;
|
|
||||||
bool d_active;
|
|
||||||
int d_state;
|
|
||||||
bool d_core_working;
|
|
||||||
bool d_dump;
|
|
||||||
uint32_t d_channel;
|
|
||||||
std::string d_dump_filename;
|
|
||||||
std::vector<gr_complex> d_zero_vector;
|
|
||||||
std::vector<std::vector<gr_complex>> d_in_buffer;
|
|
||||||
std::vector<uint64_t> d_sample_counter_buffer;
|
|
||||||
uint32_t d_in_dwell_count;
|
|
||||||
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
|
||||||
int d_opencl;
|
|
||||||
|
|
||||||
cl::Platform d_cl_platform;
|
cl::Platform d_cl_platform;
|
||||||
cl::Device d_cl_device;
|
cl::Device d_cl_device;
|
||||||
cl::Context d_cl_context;
|
cl::Context d_cl_context;
|
||||||
@ -279,6 +237,59 @@ private:
|
|||||||
cl::CommandQueue* d_cl_queue;
|
cl::CommandQueue* d_cl_queue;
|
||||||
clFFT_Plan d_cl_fft_plan;
|
clFFT_Plan d_cl_fft_plan;
|
||||||
cl_int d_cl_fft_batch_size;
|
cl_int d_cl_fft_batch_size;
|
||||||
|
|
||||||
|
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
||||||
|
|
||||||
|
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
||||||
|
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
||||||
|
|
||||||
|
std::vector<std::vector<gr_complex>> d_grid_doppler_wipeoffs;
|
||||||
|
std::vector<std::vector<gr_complex>> d_in_buffer;
|
||||||
|
std::vector<gr_complex> d_fft_codes;
|
||||||
|
std::vector<gr_complex> d_zero_vector;
|
||||||
|
std::vector<uint64_t> d_sample_counter_buffer;
|
||||||
|
std::vector<float> d_magnitude;
|
||||||
|
|
||||||
|
std::string d_dump_filename;
|
||||||
|
std::string d_satellite_str;
|
||||||
|
|
||||||
|
std::ofstream d_dump_file;
|
||||||
|
|
||||||
|
Gnss_Synchro* d_gnss_synchro;
|
||||||
|
|
||||||
|
int64_t d_fs_in;
|
||||||
|
uint64_t d_sample_counter;
|
||||||
|
|
||||||
|
int* d_max_doppler_indexs;
|
||||||
|
|
||||||
|
float d_threshold;
|
||||||
|
float d_doppler_freq;
|
||||||
|
float d_mag;
|
||||||
|
float d_input_power;
|
||||||
|
float d_test_statistics;
|
||||||
|
|
||||||
|
int d_samples_per_ms;
|
||||||
|
int d_samples_per_code;
|
||||||
|
int d_state;
|
||||||
|
int d_opencl;
|
||||||
|
|
||||||
|
uint32_t d_doppler_resolution;
|
||||||
|
uint32_t d_doppler_max;
|
||||||
|
uint32_t d_doppler_step;
|
||||||
|
uint32_t d_sampled_ms;
|
||||||
|
uint32_t d_max_dwells;
|
||||||
|
uint32_t d_well_count;
|
||||||
|
uint32_t d_fft_size;
|
||||||
|
uint32_t d_fft_size_pow2;
|
||||||
|
uint32_t d_num_doppler_bins;
|
||||||
|
uint32_t d_code_phase;
|
||||||
|
uint32_t d_channel;
|
||||||
|
uint32_t d_in_dwell_count;
|
||||||
|
|
||||||
|
bool d_bit_transition_flag;
|
||||||
|
bool d_active;
|
||||||
|
bool d_core_working;
|
||||||
|
bool d_dump;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -212,47 +212,55 @@ private:
|
|||||||
void calculate_magnitudes(gr_complex* fft_begin, int32_t doppler_shift,
|
void calculate_magnitudes(gr_complex* fft_begin, int32_t doppler_shift,
|
||||||
int32_t doppler_offset);
|
int32_t doppler_offset);
|
||||||
|
|
||||||
|
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
||||||
|
|
||||||
|
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
||||||
|
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
||||||
|
|
||||||
|
std::vector<std::vector<gr_complex>> d_grid_doppler_wipeoffs;
|
||||||
std::vector<gr_complex> d_code;
|
std::vector<gr_complex> d_code;
|
||||||
uint32_t d_folding_factor; // also referred in the paper as 'p'
|
std::vector<gr_complex> d_fft_codes;
|
||||||
std::vector<uint32_t> d_possible_delay;
|
|
||||||
std::vector<float> d_corr_output_f;
|
|
||||||
std::vector<float> d_magnitude_folded;
|
|
||||||
std::vector<gr_complex> d_signal_folded;
|
std::vector<gr_complex> d_signal_folded;
|
||||||
std::vector<gr_complex> d_code_folded;
|
std::vector<gr_complex> d_code_folded;
|
||||||
float d_noise_floor_power;
|
std::vector<float> d_magnitude;
|
||||||
|
std::vector<float> d_corr_output_f;
|
||||||
|
std::vector<float> d_magnitude_folded;
|
||||||
|
std::vector<uint32_t> d_possible_delay;
|
||||||
|
|
||||||
|
std::string d_dump_filename;
|
||||||
|
std::string d_satellite_str;
|
||||||
|
|
||||||
|
std::ofstream d_dump_file;
|
||||||
|
|
||||||
|
Gnss_Synchro* d_gnss_synchro;
|
||||||
|
|
||||||
int64_t d_fs_in;
|
int64_t d_fs_in;
|
||||||
|
uint64_t d_sample_counter;
|
||||||
|
|
||||||
|
float d_noise_floor_power;
|
||||||
|
float d_threshold;
|
||||||
|
float d_doppler_freq;
|
||||||
|
float d_mag;
|
||||||
|
float d_input_power;
|
||||||
|
float d_test_statistics;
|
||||||
int32_t d_samples_per_ms;
|
int32_t d_samples_per_ms;
|
||||||
int32_t d_samples_per_code;
|
int32_t d_samples_per_code;
|
||||||
|
int32_t d_state;
|
||||||
|
uint32_t d_channel;
|
||||||
|
uint32_t d_folding_factor; // also referred in the paper as 'p'
|
||||||
uint32_t d_doppler_resolution;
|
uint32_t d_doppler_resolution;
|
||||||
float d_threshold;
|
|
||||||
std::string d_satellite_str;
|
|
||||||
uint32_t d_doppler_max;
|
uint32_t d_doppler_max;
|
||||||
uint32_t d_doppler_step;
|
uint32_t d_doppler_step;
|
||||||
uint32_t d_sampled_ms;
|
uint32_t d_sampled_ms;
|
||||||
uint32_t d_max_dwells;
|
uint32_t d_max_dwells;
|
||||||
uint32_t d_well_count;
|
uint32_t d_well_count;
|
||||||
uint32_t d_fft_size;
|
uint32_t d_fft_size;
|
||||||
uint64_t d_sample_counter;
|
|
||||||
std::vector<std::vector<gr_complex>> d_grid_doppler_wipeoffs;
|
|
||||||
uint32_t d_num_doppler_bins;
|
uint32_t d_num_doppler_bins;
|
||||||
std::vector<gr_complex> d_fft_codes;
|
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
|
||||||
Gnss_Synchro* d_gnss_synchro;
|
|
||||||
uint32_t d_code_phase;
|
uint32_t d_code_phase;
|
||||||
float d_doppler_freq;
|
|
||||||
float d_mag;
|
|
||||||
std::vector<float> d_magnitude;
|
|
||||||
float d_input_power;
|
|
||||||
float d_test_statistics;
|
|
||||||
bool d_bit_transition_flag;
|
bool d_bit_transition_flag;
|
||||||
std::ofstream d_dump_file;
|
|
||||||
bool d_active;
|
bool d_active;
|
||||||
int32_t d_state;
|
|
||||||
bool d_dump;
|
bool d_dump;
|
||||||
uint32_t d_channel;
|
|
||||||
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
|
||||||
std::string d_dump_filename;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GNSS_SDR_PCPS_QUICKSYNC_ACQUISITION_CC_H
|
#endif // GNSS_SDR_PCPS_QUICKSYNC_ACQUISITION_CC_H
|
||||||
|
@ -202,12 +202,36 @@ private:
|
|||||||
void calculate_magnitudes(gr_complex* fft_begin, int32_t doppler_shift,
|
void calculate_magnitudes(gr_complex* fft_begin, int32_t doppler_shift,
|
||||||
int32_t doppler_offset);
|
int32_t doppler_offset);
|
||||||
|
|
||||||
|
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
||||||
|
|
||||||
|
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
||||||
|
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
||||||
|
|
||||||
|
std::vector<std::vector<gr_complex>> d_grid_doppler_wipeoffs;
|
||||||
|
std::vector<std::vector<float>> d_grid_data;
|
||||||
|
std::vector<gr_complex> d_fft_codes;
|
||||||
|
std::vector<float> d_magnitude;
|
||||||
|
|
||||||
|
std::string d_satellite_str;
|
||||||
|
std::string d_dump_filename;
|
||||||
|
|
||||||
|
std::ofstream d_dump_file;
|
||||||
|
|
||||||
|
Gnss_Synchro* d_gnss_synchro;
|
||||||
|
|
||||||
int64_t d_fs_in;
|
int64_t d_fs_in;
|
||||||
|
uint64_t d_sample_counter;
|
||||||
|
|
||||||
|
float d_threshold;
|
||||||
|
float d_doppler_freq;
|
||||||
|
float d_mag;
|
||||||
|
float d_input_power;
|
||||||
|
float d_test_statistics;
|
||||||
|
int32_t d_state;
|
||||||
int32_t d_samples_per_ms;
|
int32_t d_samples_per_ms;
|
||||||
int32_t d_samples_per_code;
|
int32_t d_samples_per_code;
|
||||||
|
uint32_t d_channel;
|
||||||
uint32_t d_doppler_resolution;
|
uint32_t d_doppler_resolution;
|
||||||
float d_threshold;
|
|
||||||
std::string d_satellite_str;
|
|
||||||
uint32_t d_doppler_max;
|
uint32_t d_doppler_max;
|
||||||
uint32_t d_doppler_step;
|
uint32_t d_doppler_step;
|
||||||
uint32_t d_sampled_ms;
|
uint32_t d_sampled_ms;
|
||||||
@ -217,27 +241,11 @@ private:
|
|||||||
uint32_t d_tong_max_val;
|
uint32_t d_tong_max_val;
|
||||||
uint32_t d_tong_max_dwells;
|
uint32_t d_tong_max_dwells;
|
||||||
uint32_t d_fft_size;
|
uint32_t d_fft_size;
|
||||||
uint64_t d_sample_counter;
|
|
||||||
std::vector<std::vector<gr_complex>> d_grid_doppler_wipeoffs;
|
|
||||||
uint32_t d_num_doppler_bins;
|
uint32_t d_num_doppler_bins;
|
||||||
std::vector<gr_complex> d_fft_codes;
|
|
||||||
std::vector<std::vector<float>> d_grid_data;
|
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_fft_if;
|
|
||||||
std::unique_ptr<gr::fft::fft_complex> d_ifft;
|
|
||||||
Gnss_Synchro* d_gnss_synchro;
|
|
||||||
uint32_t d_code_phase;
|
uint32_t d_code_phase;
|
||||||
float d_doppler_freq;
|
|
||||||
float d_mag;
|
|
||||||
std::vector<float> d_magnitude;
|
|
||||||
float d_input_power;
|
|
||||||
float d_test_statistics;
|
|
||||||
std::ofstream d_dump_file;
|
|
||||||
bool d_active;
|
bool d_active;
|
||||||
int32_t d_state;
|
|
||||||
bool d_dump;
|
bool d_dump;
|
||||||
uint32_t d_channel;
|
|
||||||
std::weak_ptr<ChannelFsm> d_channel_fsm;
|
|
||||||
std::string d_dump_filename;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GNSS_SDR_PCPS_TONG_ACQUISITION_CC_H
|
#endif // GNSS_SDR_PCPS_TONG_ACQUISITION_CC_H
|
||||||
|
Loading…
Reference in New Issue
Block a user