2012-08-28 13:38:33 +00:00
|
|
|
/*!
|
|
|
|
* \file galileo_e1_dll_pll_veml_tracking.h
|
2012-09-12 15:03:38 +00:00
|
|
|
* \brief Adapts a DLL+PLL VEML (Very Early Minus Late) tracking loop block
|
|
|
|
* to a TrackingInterface for Galileo E1 signals
|
2012-08-28 13:38:33 +00:00
|
|
|
* \author Luis Esteve, 2012. luis(at)epsilon-formacion.com
|
|
|
|
*
|
|
|
|
* Code DLL + carrier PLL according to the algorithms described in:
|
|
|
|
* K.Borre, D.M.Akos, N.Bertelsen, P.Rinder, and S.H.Jensen,
|
|
|
|
* A Software-Defined GPS and Galileo Receiver. A Single-Frequency
|
2017-08-21 09:45:12 +00:00
|
|
|
* Approach, Birkhauser, 2007
|
2012-08-28 13:38:33 +00:00
|
|
|
*
|
2020-07-28 14:57:15 +00:00
|
|
|
* -----------------------------------------------------------------------------
|
2012-08-28 13:38:33 +00:00
|
|
|
*
|
2020-12-30 12:35:06 +00:00
|
|
|
* GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
|
2012-08-28 13:38:33 +00:00
|
|
|
* This file is part of GNSS-SDR.
|
|
|
|
*
|
2020-12-30 12:35:06 +00:00
|
|
|
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
|
2020-02-08 00:20:02 +00:00
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2012-08-28 13:38:33 +00:00
|
|
|
*
|
2020-07-28 14:57:15 +00:00
|
|
|
* -----------------------------------------------------------------------------
|
2012-08-28 13:38:33 +00:00
|
|
|
*/
|
|
|
|
|
2020-02-08 09:10:46 +00:00
|
|
|
#ifndef GNSS_SDR_GALILEO_E1_DLL_PLL_VEML_TRACKING_H
|
|
|
|
#define GNSS_SDR_GALILEO_E1_DLL_PLL_VEML_TRACKING_H
|
2012-08-28 13:38:33 +00:00
|
|
|
|
2018-03-13 11:38:33 +00:00
|
|
|
#include "dll_pll_veml_tracking.h"
|
2018-12-09 21:00:09 +00:00
|
|
|
#include "tracking_interface.h"
|
2018-02-26 02:15:53 +00:00
|
|
|
#include <string>
|
2014-01-12 20:07:38 +00:00
|
|
|
|
2020-11-01 12:37:19 +00:00
|
|
|
/** \addtogroup Tracking
|
|
|
|
* \{ */
|
|
|
|
/** \addtogroup Tracking_adapters
|
|
|
|
* \{ */
|
|
|
|
|
2012-08-28 13:38:33 +00:00
|
|
|
|
|
|
|
class ConfigurationInterface;
|
|
|
|
|
|
|
|
/*!
|
2012-09-12 15:03:38 +00:00
|
|
|
* \brief This class Adapts a DLL+PLL VEML (Very Early Minus Late) tracking
|
|
|
|
* loop block to a TrackingInterface for Galileo E1 signals
|
2012-08-28 13:38:33 +00:00
|
|
|
*/
|
|
|
|
class GalileoE1DllPllVemlTracking : public TrackingInterface
|
|
|
|
{
|
|
|
|
public:
|
2020-06-29 07:07:41 +00:00
|
|
|
GalileoE1DllPllVemlTracking(
|
|
|
|
const ConfigurationInterface* configuration,
|
2018-12-03 18:01:47 +00:00
|
|
|
const std::string& role,
|
2018-03-03 01:03:39 +00:00
|
|
|
unsigned int in_streams,
|
|
|
|
unsigned int out_streams);
|
2012-08-28 13:38:33 +00:00
|
|
|
|
2019-07-21 17:32:52 +00:00
|
|
|
~GalileoE1DllPllVemlTracking() = default;
|
2012-08-28 13:38:33 +00:00
|
|
|
|
2017-08-21 09:45:12 +00:00
|
|
|
inline std::string role() override
|
2012-08-28 13:38:33 +00:00
|
|
|
{
|
|
|
|
return role_;
|
|
|
|
}
|
2013-02-04 00:16:22 +00:00
|
|
|
|
|
|
|
//! Returns "Galileo_E1_DLL_PLL_VEML_Tracking"
|
2017-08-21 09:45:12 +00:00
|
|
|
inline std::string implementation() override
|
2012-08-28 13:38:33 +00:00
|
|
|
{
|
|
|
|
return "Galileo_E1_DLL_PLL_VEML_Tracking";
|
|
|
|
}
|
2017-08-15 22:58:10 +00:00
|
|
|
|
2017-08-21 09:45:12 +00:00
|
|
|
inline size_t item_size() override
|
2012-08-28 13:38:33 +00:00
|
|
|
{
|
|
|
|
return item_size_;
|
|
|
|
}
|
|
|
|
|
2017-08-15 22:58:10 +00:00
|
|
|
void connect(gr::top_block_sptr top_block) override;
|
|
|
|
void disconnect(gr::top_block_sptr top_block) override;
|
|
|
|
gr::basic_block_sptr get_left_block() override;
|
|
|
|
gr::basic_block_sptr get_right_block() override;
|
2012-08-28 13:38:33 +00:00
|
|
|
|
|
|
|
/*!
|
|
|
|
* \brief Set tracking channel unique ID
|
|
|
|
*/
|
2017-08-15 22:58:10 +00:00
|
|
|
void set_channel(unsigned int channel) override;
|
2012-08-28 13:38:33 +00:00
|
|
|
|
|
|
|
/*!
|
|
|
|
* \brief Set acquisition/tracking common Gnss_Synchro object pointer
|
2012-09-12 15:03:38 +00:00
|
|
|
* to efficiently exchange synchronization data between acquisition and
|
|
|
|
* tracking blocks
|
2012-08-28 13:38:33 +00:00
|
|
|
*/
|
2017-08-15 22:58:10 +00:00
|
|
|
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
|
2012-08-28 13:38:33 +00:00
|
|
|
|
2017-08-15 22:58:10 +00:00
|
|
|
void start_tracking() override;
|
2019-07-28 10:01:11 +00:00
|
|
|
|
2018-10-28 10:07:53 +00:00
|
|
|
/*!
|
|
|
|
* \brief Stop running tracking
|
|
|
|
*/
|
|
|
|
void stop_tracking() override;
|
2012-08-28 13:38:33 +00:00
|
|
|
|
|
|
|
private:
|
2022-12-08 16:39:16 +00:00
|
|
|
dll_pll_veml_tracking_sptr tracking_sptr_;
|
|
|
|
std::string role_;
|
2012-08-28 13:38:33 +00:00
|
|
|
size_t item_size_;
|
|
|
|
unsigned int channel_;
|
|
|
|
unsigned int in_streams_;
|
|
|
|
unsigned int out_streams_;
|
|
|
|
};
|
|
|
|
|
2020-11-01 12:37:19 +00:00
|
|
|
|
|
|
|
/** \} */
|
|
|
|
/** \} */
|
2020-02-08 09:10:46 +00:00
|
|
|
#endif // GNSS_SDR_GALILEO_E1_DLL_PLL_VEML_TRACKING_H
|