GNSS-SDR  0.0.13
An Open Source GNSS Software Defined Receiver
gps_l1_ca_kf_tracking.h
Go to the documentation of this file.
1 /*!
2  * \file gps_l1_ca_kf_tracking.h
3  * \brief Interface of an adapter of a DLL + Kalman carrier
4  * tracking loop block for GPS L1 C/A signals
5  * \author Javier Arribas, 2018. jarribas(at)cttc.es
6  * \author Jordi Vila-Valls 2018. jvila(at)cttc.es
7  * \author Carles Fernandez-Prades 2018. cfernandez(at)cttc.es
8  *
9  * Reference:
10  * J. Vila-Valls, P. Closas, M. Navarro and C. Fernandez-Prades,
11  * "Are PLLs Dead? A Tutorial on Kalman Filter-based Techniques for Digital
12  * Carrier Synchronization", IEEE Aerospace and Electronic Systems Magazine,
13  * Vol. 32, No. 7, pp. 28–45, July 2017. DOI: 10.1109/MAES.2017.150260
14  *
15  * -----------------------------------------------------------------------------
16  *
17  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
18  *
19  * GNSS-SDR is a software defined Global Navigation
20  * Satellite Systems receiver
21  *
22  * This file is part of GNSS-SDR.
23  *
24  * SPDX-License-Identifier: GPL-3.0-or-later
25  *
26  * -----------------------------------------------------------------------------
27  */
28 
29 #ifndef GNSS_SDR_GPS_L1_CA_KF_TRACKING_H
30 #define GNSS_SDR_GPS_L1_CA_KF_TRACKING_H
31 
33 #include "tracking_interface.h"
34 #include <string>
35 
37 
38 /*!
39  * \brief This class implements a code DLL + carrier PLL tracking loop
40  */
42 {
43 public:
45  const ConfigurationInterface* configuration,
46  const std::string& role,
47  unsigned int in_streams,
48  unsigned int out_streams);
49 
50  ~GpsL1CaKfTracking() = default;
51 
52  inline std::string role() override
53  {
54  return role_;
55  }
56 
57  //! Returns "GPS_L1_CA_KF_Tracking"
58  inline std::string implementation() override
59  {
60  return "GPS_L1_CA_KF_Tracking";
61  }
62 
63  inline size_t item_size() override
64  {
65  return item_size_;
66  }
67 
68  void connect(gr::top_block_sptr top_block) override;
69  void disconnect(gr::top_block_sptr top_block) override;
70  gr::basic_block_sptr get_left_block() override;
71  gr::basic_block_sptr get_right_block() override;
72 
73  /*!
74  * \brief Set tracking channel unique ID
75  */
76  void set_channel(unsigned int channel) override;
77 
78  /*!
79  * \brief Set acquisition/tracking common Gnss_Synchro object pointer
80  * to efficiently exchange synchronization data between acquisition and tracking blocks
81  */
82  void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
83 
84  void start_tracking() override;
85 
86  /*!
87  * \brief Stop running tracking
88  */
89  void stop_tracking() override;
90 
91 private:
92  gps_l1_ca_kf_tracking_cc_sptr tracking_;
93  size_t item_size_;
94  unsigned int channel_;
95  std::string role_;
96  unsigned int in_streams_;
97  unsigned int out_streams_;
98 };
99 
100 #endif // GNSS_SDR_GPS_L1_CA_KF_TRACKING_H
Interface of a processing block of a DLL + Kalman carrier tracking loop for GPS L1 C/A signals...
void set_gnss_synchro(Gnss_Synchro *p_gnss_synchro) override
Set acquisition/tracking common Gnss_Synchro object pointer to efficiently exchange synchronization d...
void stop_tracking() override
Stop running tracking.
This is the class that contains the information that is shared by the processing blocks.
Definition: gnss_synchro.h:33
This class implements a code DLL + carrier PLL tracking loop.
This abstract class represents an interface to configuration parameters.
This abstract class represents an interface to a tracking block.
void set_channel(unsigned int channel) override
Set tracking channel unique ID.
std::string implementation() override
Returns "GPS_L1_CA_KF_Tracking".
This class represents an interface to a tracking block.