2014-08-20 08:59:47 +00:00
|
|
|
/*!
|
2016-04-08 16:25:50 +00:00
|
|
|
* \file galileo_e5a_dll_pll_tracking.h
|
2014-08-20 08:59:47 +00:00
|
|
|
* \brief Adapts a code DLL + carrier PLL
|
|
|
|
* tracking block to a TrackingInterface for Galileo E5a signals
|
|
|
|
* \author Marc Sales, 2014. marcsales92(at)gmail.com
|
|
|
|
* \based on work from:
|
2016-05-02 21:46:30 +00:00
|
|
|
* <ul>
|
2014-08-20 08:59:47 +00:00
|
|
|
* <li> Javier Arribas, 2011. jarribas(at)cttc.es
|
|
|
|
* <li> Luis Esteve, 2012. luis(at)epsilon-formacion.com
|
|
|
|
* </ul>
|
|
|
|
*
|
2020-07-28 14:57:15 +00:00
|
|
|
* -----------------------------------------------------------------------------
|
2014-08-20 08:59:47 +00:00
|
|
|
*
|
2020-12-30 12:35:06 +00:00
|
|
|
* GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
|
2014-08-20 08:59:47 +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
|
2014-06-20 16:23:44 +00:00
|
|
|
*
|
2020-07-28 14:57:15 +00:00
|
|
|
* -----------------------------------------------------------------------------
|
2014-06-20 16:23:44 +00:00
|
|
|
*/
|
|
|
|
|
2020-02-08 09:10:46 +00:00
|
|
|
#ifndef GNSS_SDR_GALILEO_E5A_DLL_PLL_TRACKING_H
|
|
|
|
#define GNSS_SDR_GALILEO_E5A_DLL_PLL_TRACKING_H
|
2014-06-20 16:23:44 +00:00
|
|
|
|
2018-03-20 09:33:02 +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-06-20 16:23:44 +00:00
|
|
|
|
2020-11-01 12:37:19 +00:00
|
|
|
/** \addtogroup Tracking
|
|
|
|
* \{ */
|
|
|
|
/** \addtogroup Tracking_adapters
|
|
|
|
* \{ */
|
|
|
|
|
|
|
|
|
2014-06-20 16:23:44 +00:00
|
|
|
class ConfigurationInterface;
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* \brief This class implements a code DLL + carrier PLL tracking loop
|
|
|
|
*/
|
|
|
|
class GalileoE5aDllPllTracking : public TrackingInterface
|
|
|
|
{
|
|
|
|
public:
|
2020-06-29 07:07:41 +00:00
|
|
|
GalileoE5aDllPllTracking(
|
|
|
|
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);
|
2014-06-20 16:23:44 +00:00
|
|
|
|
2019-07-21 17:32:52 +00:00
|
|
|
~GalileoE5aDllPllTracking() = default;
|
2014-06-20 16:23:44 +00:00
|
|
|
|
2017-08-21 09:45:12 +00:00
|
|
|
inline std::string role() override
|
2014-06-20 16:23:44 +00:00
|
|
|
{
|
|
|
|
return role_;
|
|
|
|
}
|
|
|
|
|
|
|
|
//! Returns "Galileo_E5a_DLL_PLL_Tracking"
|
2017-08-21 09:45:12 +00:00
|
|
|
inline std::string implementation() override
|
2014-06-20 16:23:44 +00:00
|
|
|
{
|
|
|
|
return "Galileo_E5a_DLL_PLL_Tracking";
|
|
|
|
}
|
2017-08-15 22:58:10 +00:00
|
|
|
|
2017-08-21 09:45:12 +00:00
|
|
|
inline size_t item_size() override
|
2014-06-20 16:23:44 +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;
|
2014-06-20 16:23:44 +00:00
|
|
|
|
|
|
|
/*!
|
|
|
|
* \brief Set tracking channel unique ID
|
|
|
|
*/
|
2017-08-15 22:58:10 +00:00
|
|
|
void set_channel(unsigned int channel) override;
|
2014-06-20 16:23:44 +00:00
|
|
|
|
|
|
|
/*!
|
|
|
|
* \brief Set acquisition/tracking common Gnss_Synchro object pointer
|
|
|
|
* to efficiently exchange synchronization data between acquisition and tracking blocks
|
|
|
|
*/
|
2017-08-15 22:58:10 +00:00
|
|
|
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override;
|
2014-06-20 16:23:44 +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;
|
2014-06-20 16:23:44 +00:00
|
|
|
|
|
|
|
private:
|
2018-04-05 19:35:01 +00:00
|
|
|
dll_pll_veml_tracking_sptr tracking_;
|
2014-06-20 16:23:44 +00:00
|
|
|
size_t item_size_;
|
|
|
|
unsigned int channel_;
|
|
|
|
std::string role_;
|
|
|
|
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_E5A_DLL_PLL_TRACKING_H
|