GNSS-SDR  0.0.14
An Open Source GNSS Software Defined Receiver
dll_pll_conf.h
Go to the documentation of this file.
1 /*!
2  * \file dll_pll_conf.h
3  * \brief Class that contains all the configuration parameters for generic tracking block based on a DLL and a PLL.
4  * \author Javier Arribas, 2018. jarribas(at)cttc.es
5  *
6  * Class that contains all the configuration parameters for generic tracking block based on a DLL and a PLL.
7  *
8  * -----------------------------------------------------------------------------
9  *
10  * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
11  * This file is part of GNSS-SDR.
12  *
13  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
14  * SPDX-License-Identifier: GPL-3.0-or-later
15  *
16  * -----------------------------------------------------------------------------
17  */
18 
19 #ifndef GNSS_SDR_DLL_PLL_CONF_H
20 #define GNSS_SDR_DLL_PLL_CONF_H
21 
23 #include <cstdint>
24 #include <string>
25 
26 /** \addtogroup Tracking
27  * \{ */
28 /** \addtogroup Tracking_libs
29  * \{ */
30 
31 
33 {
34 public:
35  Dll_Pll_Conf();
36  void SetFromConfiguration(const ConfigurationInterface *configuration, const std::string &role);
37 
38  /* DLL/PLL tracking configuration */
39  std::string item_type;
40  std::string dump_filename;
41  double fs_in;
42  double carrier_lock_th;
43  float pll_pull_in_bw_hz;
44  float dll_pull_in_bw_hz;
45  float fll_bw_hz;
46  float pll_bw_hz;
47  float dll_bw_hz;
48  float pll_bw_narrow_hz;
49  float dll_bw_narrow_hz;
50  float early_late_space_chips;
51  float very_early_late_space_chips;
52  float early_late_space_narrow_chips;
53  float very_early_late_space_narrow_chips;
54  float slope;
55  float spc;
56  float y_intercept;
57  float cn0_smoother_alpha;
58  float carrier_lock_test_smoother_alpha;
59  uint32_t pull_in_time_s;
60  uint32_t bit_synchronization_time_limit_s;
61  uint32_t vector_length;
62  uint32_t smoother_length;
63  int32_t fll_filter_order;
64  int32_t pll_filter_order;
65  int32_t dll_filter_order;
66  int32_t extend_correlation_symbols;
67  int32_t cn0_samples;
68  int32_t cn0_smoother_samples;
69  int32_t carrier_lock_test_smoother_samples;
70  int32_t cn0_min;
71  int32_t max_code_lock_fail;
72  int32_t max_carrier_lock_fail;
73  char signal[3]{};
74  char system;
75  bool enable_fll_pull_in;
76  bool enable_fll_steady_state;
77  bool track_pilot;
78  bool enable_doppler_correction;
79  bool carrier_aiding;
80  bool high_dyn;
81  bool dump;
82  bool dump_mat;
83 };
84 
85 
86 /** \} */
87 /** \} */
88 #endif // GNSS_SDR_DLL_PLL_CONF_H
This abstract class represents an interface to configuration parameters.
This class represents an interface to configuration parameters.