18 #ifndef GNSS_SDR_ACQ_CONF_H 19 #define GNSS_SDR_ACQ_CONF_H 22 #include <gnuradio/gr_complex.h> 38 void SetFromConfiguration(
const ConfigurationInterface *configuration,
const std::string &role,
double chip_rate,
double opt_freq);
41 std::string item_type{
"gr_complex"};
42 std::string dump_filename;
44 int64_t fs_in{4000000LL};
45 int64_t resampled_fs{0LL};
47 size_t it_size{
sizeof(gr_complex)};
49 float doppler_step{250.0};
50 float samples_per_ms{0.0};
51 float doppler_step2{125.0};
54 float samples_per_code{0.0};
55 float resampler_ratio{1.0};
57 uint32_t sampled_ms{1U};
58 uint32_t ms_per_code{1U};
59 uint32_t samples_per_chip{2U};
60 uint32_t chips_per_second{1023000U};
61 uint32_t max_dwells{1U};
62 uint32_t num_doppler_bins_step2{4U};
63 uint32_t resampler_latency_samples{0U};
64 uint32_t dump_channel{0U};
65 int32_t doppler_max{5000};
66 int32_t doppler_min{-5000};
68 bool bit_transition_flag{
false};
69 bool use_CFAR_algorithm_flag{
true};
72 bool blocking_on_standby{
false};
73 bool make_2_steps{
false};
74 bool use_automatic_resampler{
false};
75 bool enable_monitor_output{
false};
78 void SetDerivedParams();
80 void ConfigureAutomaticResampler(
double opt_freq);
86 #endif // GNSS_SDR_ACQ_CONF_H This abstract class represents an interface to configuration parameters.
This class represents an interface to configuration parameters.