mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-13 03:30:33 +00:00
Remove unused queue from tracking blocks
Now replaced by GNU Radio block's message passing system
This commit is contained in:
parent
7a6952f8b6
commit
0acb48c0b5
@ -44,10 +44,8 @@ using google::LogMessage;
|
|||||||
|
|
||||||
GalileoE1DllPllVemlTracking::GalileoE1DllPllVemlTracking(
|
GalileoE1DllPllVemlTracking::GalileoE1DllPllVemlTracking(
|
||||||
ConfigurationInterface* configuration, std::string role,
|
ConfigurationInterface* configuration, std::string role,
|
||||||
unsigned int in_streams, unsigned int out_streams,
|
unsigned int in_streams, unsigned int out_streams) :
|
||||||
boost::shared_ptr<gr::msg_queue> queue) :
|
role_(role), in_streams_(in_streams), out_streams_(out_streams)
|
||||||
role_(role), in_streams_(in_streams), out_streams_(out_streams),
|
|
||||||
queue_(queue)
|
|
||||||
{
|
{
|
||||||
DLOG(INFO) << "role " << role;
|
DLOG(INFO) << "role " << role;
|
||||||
//################# CONFIGURATION PARAMETERS ########################
|
//################# CONFIGURATION PARAMETERS ########################
|
||||||
@ -85,7 +83,6 @@ GalileoE1DllPllVemlTracking::GalileoE1DllPllVemlTracking(
|
|||||||
f_if,
|
f_if,
|
||||||
fs_in,
|
fs_in,
|
||||||
vector_length,
|
vector_length,
|
||||||
queue_,
|
|
||||||
dump,
|
dump,
|
||||||
dump_filename,
|
dump_filename,
|
||||||
pll_bw_hz,
|
pll_bw_hz,
|
||||||
|
@ -37,8 +37,8 @@
|
|||||||
#ifndef GNSS_SDR_GALILEO_E1_DLL_PLL_VEML_TRACKING_H_
|
#ifndef GNSS_SDR_GALILEO_E1_DLL_PLL_VEML_TRACKING_H_
|
||||||
#define GNSS_SDR_GALILEO_E1_DLL_PLL_VEML_TRACKING_H_
|
#define GNSS_SDR_GALILEO_E1_DLL_PLL_VEML_TRACKING_H_
|
||||||
|
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <gnuradio/msg_queue.h>
|
|
||||||
#include "tracking_interface.h"
|
#include "tracking_interface.h"
|
||||||
#include "galileo_e1_dll_pll_veml_tracking_cc.h"
|
#include "galileo_e1_dll_pll_veml_tracking_cc.h"
|
||||||
|
|
||||||
@ -55,8 +55,7 @@ public:
|
|||||||
GalileoE1DllPllVemlTracking(ConfigurationInterface* configuration,
|
GalileoE1DllPllVemlTracking(ConfigurationInterface* configuration,
|
||||||
std::string role,
|
std::string role,
|
||||||
unsigned int in_streams,
|
unsigned int in_streams,
|
||||||
unsigned int out_streams,
|
unsigned int out_streams);
|
||||||
boost::shared_ptr<gr::msg_queue> queue);
|
|
||||||
|
|
||||||
virtual ~GalileoE1DllPllVemlTracking();
|
virtual ~GalileoE1DllPllVemlTracking();
|
||||||
|
|
||||||
@ -103,7 +102,6 @@ private:
|
|||||||
std::string role_;
|
std::string role_;
|
||||||
unsigned int in_streams_;
|
unsigned int in_streams_;
|
||||||
unsigned int out_streams_;
|
unsigned int out_streams_;
|
||||||
boost::shared_ptr<gr::msg_queue> queue_;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GNSS_SDR_GALILEO_E1_DLL_PLL_VEML_TRACKING_H_
|
#endif // GNSS_SDR_GALILEO_E1_DLL_PLL_VEML_TRACKING_H_
|
||||||
|
@ -45,10 +45,8 @@ using google::LogMessage;
|
|||||||
|
|
||||||
GalileoE1TcpConnectorTracking::GalileoE1TcpConnectorTracking(
|
GalileoE1TcpConnectorTracking::GalileoE1TcpConnectorTracking(
|
||||||
ConfigurationInterface* configuration, std::string role,
|
ConfigurationInterface* configuration, std::string role,
|
||||||
unsigned int in_streams, unsigned int out_streams,
|
unsigned int in_streams, unsigned int out_streams) :
|
||||||
boost::shared_ptr<gr::msg_queue> queue) :
|
role_(role), in_streams_(in_streams), out_streams_(out_streams)
|
||||||
role_(role), in_streams_(in_streams), out_streams_(out_streams),
|
|
||||||
queue_(queue)
|
|
||||||
{
|
{
|
||||||
DLOG(INFO) << "role " << role;
|
DLOG(INFO) << "role " << role;
|
||||||
//################# CONFIGURATION PARAMETERS ########################
|
//################# CONFIGURATION PARAMETERS ########################
|
||||||
@ -85,7 +83,6 @@ GalileoE1TcpConnectorTracking::GalileoE1TcpConnectorTracking(
|
|||||||
f_if,
|
f_if,
|
||||||
fs_in,
|
fs_in,
|
||||||
vector_length,
|
vector_length,
|
||||||
queue_,
|
|
||||||
dump,
|
dump,
|
||||||
dump_filename,
|
dump_filename,
|
||||||
pll_bw_hz,
|
pll_bw_hz,
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
#define GNSS_SDR_GALILEO_E1_TCP_CONNECTOR_TRACKING_H_
|
#define GNSS_SDR_GALILEO_E1_TCP_CONNECTOR_TRACKING_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <gnuradio/msg_queue.h>
|
|
||||||
#include "tracking_interface.h"
|
#include "tracking_interface.h"
|
||||||
#include "galileo_e1_tcp_connector_tracking_cc.h"
|
#include "galileo_e1_tcp_connector_tracking_cc.h"
|
||||||
|
|
||||||
@ -56,8 +55,7 @@ public:
|
|||||||
GalileoE1TcpConnectorTracking(ConfigurationInterface* configuration,
|
GalileoE1TcpConnectorTracking(ConfigurationInterface* configuration,
|
||||||
std::string role,
|
std::string role,
|
||||||
unsigned int in_streams,
|
unsigned int in_streams,
|
||||||
unsigned int out_streams,
|
unsigned int out_streams);
|
||||||
boost::shared_ptr<gr::msg_queue> queue);
|
|
||||||
|
|
||||||
virtual ~GalileoE1TcpConnectorTracking();
|
virtual ~GalileoE1TcpConnectorTracking();
|
||||||
|
|
||||||
@ -104,7 +102,6 @@ private:
|
|||||||
std::string role_;
|
std::string role_;
|
||||||
unsigned int in_streams_;
|
unsigned int in_streams_;
|
||||||
unsigned int out_streams_;
|
unsigned int out_streams_;
|
||||||
boost::shared_ptr<gr::msg_queue> queue_;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GNSS_SDR_GALILEO_E1_TCP_CONNECTOR_TRACKING_H_
|
#endif // GNSS_SDR_GALILEO_E1_TCP_CONNECTOR_TRACKING_H_
|
||||||
|
@ -46,10 +46,8 @@ using google::LogMessage;
|
|||||||
|
|
||||||
GalileoE5aDllPllTracking::GalileoE5aDllPllTracking(
|
GalileoE5aDllPllTracking::GalileoE5aDllPllTracking(
|
||||||
ConfigurationInterface* configuration, std::string role,
|
ConfigurationInterface* configuration, std::string role,
|
||||||
unsigned int in_streams, unsigned int out_streams,
|
unsigned int in_streams, unsigned int out_streams) :
|
||||||
boost::shared_ptr<gr::msg_queue> queue) :
|
role_(role), in_streams_(in_streams), out_streams_(out_streams)
|
||||||
role_(role), in_streams_(in_streams), out_streams_(out_streams),
|
|
||||||
queue_(queue)
|
|
||||||
{
|
{
|
||||||
DLOG(INFO) << "role " << role;
|
DLOG(INFO) << "role " << role;
|
||||||
//################# CONFIGURATION PARAMETERS ########################
|
//################# CONFIGURATION PARAMETERS ########################
|
||||||
@ -91,7 +89,6 @@ GalileoE5aDllPllTracking::GalileoE5aDllPllTracking(
|
|||||||
f_if,
|
f_if,
|
||||||
fs_in,
|
fs_in,
|
||||||
vector_length,
|
vector_length,
|
||||||
queue_,
|
|
||||||
dump,
|
dump,
|
||||||
dump_filename,
|
dump_filename,
|
||||||
pll_bw_hz,
|
pll_bw_hz,
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
#define GNSS_SDR_GALILEO_E5A_DLL_PLL_TRACKING_H_
|
#define GNSS_SDR_GALILEO_E5A_DLL_PLL_TRACKING_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <gnuradio/msg_queue.h>
|
|
||||||
#include "tracking_interface.h"
|
#include "tracking_interface.h"
|
||||||
#include "galileo_e5a_dll_pll_tracking_cc.h"
|
#include "galileo_e5a_dll_pll_tracking_cc.h"
|
||||||
|
|
||||||
@ -56,8 +55,7 @@ public:
|
|||||||
GalileoE5aDllPllTracking(ConfigurationInterface* configuration,
|
GalileoE5aDllPllTracking(ConfigurationInterface* configuration,
|
||||||
std::string role,
|
std::string role,
|
||||||
unsigned int in_streams,
|
unsigned int in_streams,
|
||||||
unsigned int out_streams,
|
unsigned int out_streams);
|
||||||
boost::shared_ptr<gr::msg_queue> queue);
|
|
||||||
|
|
||||||
virtual ~GalileoE5aDllPllTracking();
|
virtual ~GalileoE5aDllPllTracking();
|
||||||
|
|
||||||
@ -102,7 +100,6 @@ private:
|
|||||||
std::string role_;
|
std::string role_;
|
||||||
unsigned int in_streams_;
|
unsigned int in_streams_;
|
||||||
unsigned int out_streams_;
|
unsigned int out_streams_;
|
||||||
boost::shared_ptr<gr::msg_queue> queue_;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* GNSS_SDR_GALILEO_E5A_DLL_PLL_TRACKING_H_ */
|
#endif /* GNSS_SDR_GALILEO_E5A_DLL_PLL_TRACKING_H_ */
|
||||||
|
@ -45,10 +45,8 @@ using google::LogMessage;
|
|||||||
|
|
||||||
GpsL1CaDllPllTrackingGPU::GpsL1CaDllPllTrackingGPU(
|
GpsL1CaDllPllTrackingGPU::GpsL1CaDllPllTrackingGPU(
|
||||||
ConfigurationInterface* configuration, std::string role,
|
ConfigurationInterface* configuration, std::string role,
|
||||||
unsigned int in_streams, unsigned int out_streams,
|
unsigned int in_streams, unsigned int out_streams) :
|
||||||
boost::shared_ptr<gr::msg_queue> queue) :
|
role_(role), in_streams_(in_streams), out_streams_(out_streams)
|
||||||
role_(role), in_streams_(in_streams), out_streams_(out_streams),
|
|
||||||
queue_(queue)
|
|
||||||
{
|
{
|
||||||
DLOG(INFO) << "role " << role;
|
DLOG(INFO) << "role " << role;
|
||||||
//################# CONFIGURATION PARAMETERS ########################
|
//################# CONFIGURATION PARAMETERS ########################
|
||||||
@ -83,7 +81,6 @@ GpsL1CaDllPllTrackingGPU::GpsL1CaDllPllTrackingGPU(
|
|||||||
f_if,
|
f_if,
|
||||||
fs_in,
|
fs_in,
|
||||||
vector_length,
|
vector_length,
|
||||||
queue_,
|
|
||||||
dump,
|
dump,
|
||||||
dump_filename,
|
dump_filename,
|
||||||
pll_bw_hz,
|
pll_bw_hz,
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
#define GNSS_SDR_GPS_L1_CA_DLL_PLL_TRACKING_GPU_H_
|
#define GNSS_SDR_GPS_L1_CA_DLL_PLL_TRACKING_GPU_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <gnuradio/msg_queue.h>
|
|
||||||
#include "tracking_interface.h"
|
#include "tracking_interface.h"
|
||||||
#include "gps_l1_ca_dll_pll_tracking_gpu_cc.h"
|
#include "gps_l1_ca_dll_pll_tracking_gpu_cc.h"
|
||||||
|
|
||||||
@ -54,8 +53,7 @@ public:
|
|||||||
GpsL1CaDllPllTrackingGPU(ConfigurationInterface* configuration,
|
GpsL1CaDllPllTrackingGPU(ConfigurationInterface* configuration,
|
||||||
std::string role,
|
std::string role,
|
||||||
unsigned int in_streams,
|
unsigned int in_streams,
|
||||||
unsigned int out_streams,
|
unsigned int out_streams);
|
||||||
boost::shared_ptr<gr::msg_queue> queue);
|
|
||||||
|
|
||||||
virtual ~GpsL1CaDllPllTrackingGPU();
|
virtual ~GpsL1CaDllPllTrackingGPU();
|
||||||
|
|
||||||
@ -79,7 +77,6 @@ public:
|
|||||||
gr::basic_block_sptr get_left_block();
|
gr::basic_block_sptr get_left_block();
|
||||||
gr::basic_block_sptr get_right_block();
|
gr::basic_block_sptr get_right_block();
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Set tracking channel unique ID
|
* \brief Set tracking channel unique ID
|
||||||
*/
|
*/
|
||||||
@ -91,7 +88,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro);
|
void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro);
|
||||||
|
|
||||||
|
|
||||||
void start_tracking();
|
void start_tracking();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -101,7 +97,6 @@ private:
|
|||||||
std::string role_;
|
std::string role_;
|
||||||
unsigned int in_streams_;
|
unsigned int in_streams_;
|
||||||
unsigned int out_streams_;
|
unsigned int out_streams_;
|
||||||
boost::shared_ptr<gr::msg_queue> queue_;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GNSS_SDR_GPS_L1_CA_DLL_PLL_TRACKING_GPU_H_
|
#endif // GNSS_SDR_GPS_L1_CA_DLL_PLL_TRACKING_GPU_H_
|
||||||
|
@ -45,10 +45,8 @@ using google::LogMessage;
|
|||||||
|
|
||||||
GpsL1CaTcpConnectorTracking::GpsL1CaTcpConnectorTracking(
|
GpsL1CaTcpConnectorTracking::GpsL1CaTcpConnectorTracking(
|
||||||
ConfigurationInterface* configuration, std::string role,
|
ConfigurationInterface* configuration, std::string role,
|
||||||
unsigned int in_streams, unsigned int out_streams,
|
unsigned int in_streams, unsigned int out_streams) :
|
||||||
boost::shared_ptr<gr::msg_queue> queue) :
|
role_(role), in_streams_(in_streams), out_streams_(out_streams)
|
||||||
role_(role), in_streams_(in_streams), out_streams_(out_streams),
|
|
||||||
queue_(queue)
|
|
||||||
{
|
{
|
||||||
DLOG(INFO) << "role " << role;
|
DLOG(INFO) << "role " << role;
|
||||||
//################# CONFIGURATION PARAMETERS ########################
|
//################# CONFIGURATION PARAMETERS ########################
|
||||||
@ -80,7 +78,6 @@ GpsL1CaTcpConnectorTracking::GpsL1CaTcpConnectorTracking(
|
|||||||
f_if,
|
f_if,
|
||||||
fs_in,
|
fs_in,
|
||||||
vector_length,
|
vector_length,
|
||||||
queue_,
|
|
||||||
dump,
|
dump,
|
||||||
dump_filename,
|
dump_filename,
|
||||||
early_late_space_chips,
|
early_late_space_chips,
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
#define GNSS_SDR_GPS_L1_CA_TCP_CONNECTOR_TRACKING_H_
|
#define GNSS_SDR_GPS_L1_CA_TCP_CONNECTOR_TRACKING_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <gnuradio/msg_queue.h>
|
|
||||||
#include "tracking_interface.h"
|
#include "tracking_interface.h"
|
||||||
#include "gps_l1_ca_tcp_connector_tracking_cc.h"
|
#include "gps_l1_ca_tcp_connector_tracking_cc.h"
|
||||||
|
|
||||||
@ -57,8 +56,7 @@ public:
|
|||||||
GpsL1CaTcpConnectorTracking(ConfigurationInterface* configuration,
|
GpsL1CaTcpConnectorTracking(ConfigurationInterface* configuration,
|
||||||
std::string role,
|
std::string role,
|
||||||
unsigned int in_streams,
|
unsigned int in_streams,
|
||||||
unsigned int out_streams,
|
unsigned int out_streams);
|
||||||
boost::shared_ptr<gr::msg_queue> queue);
|
|
||||||
|
|
||||||
virtual ~GpsL1CaTcpConnectorTracking();
|
virtual ~GpsL1CaTcpConnectorTracking();
|
||||||
|
|
||||||
@ -107,7 +105,6 @@ private:
|
|||||||
std::string role_;
|
std::string role_;
|
||||||
unsigned int in_streams_;
|
unsigned int in_streams_;
|
||||||
unsigned int out_streams_;
|
unsigned int out_streams_;
|
||||||
boost::shared_ptr<gr::msg_queue> queue_;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GNSS_SDR_GPS_L1_CA_TCP_CONNECTOR_TRACKING_H_
|
#endif // GNSS_SDR_GPS_L1_CA_TCP_CONNECTOR_TRACKING_H_
|
||||||
|
@ -45,10 +45,8 @@ using google::LogMessage;
|
|||||||
|
|
||||||
GpsL2MDllPllTracking::GpsL2MDllPllTracking(
|
GpsL2MDllPllTracking::GpsL2MDllPllTracking(
|
||||||
ConfigurationInterface* configuration, std::string role,
|
ConfigurationInterface* configuration, std::string role,
|
||||||
unsigned int in_streams, unsigned int out_streams,
|
unsigned int in_streams, unsigned int out_streams) :
|
||||||
boost::shared_ptr<gr::msg_queue> queue) :
|
role_(role), in_streams_(in_streams), out_streams_(out_streams)
|
||||||
role_(role), in_streams_(in_streams), out_streams_(out_streams),
|
|
||||||
queue_(queue)
|
|
||||||
{
|
{
|
||||||
DLOG(INFO) << "role " << role;
|
DLOG(INFO) << "role " << role;
|
||||||
//################# CONFIGURATION PARAMETERS ########################
|
//################# CONFIGURATION PARAMETERS ########################
|
||||||
@ -82,7 +80,6 @@ GpsL2MDllPllTracking::GpsL2MDllPllTracking(
|
|||||||
f_if,
|
f_if,
|
||||||
fs_in,
|
fs_in,
|
||||||
vector_length,
|
vector_length,
|
||||||
queue_,
|
|
||||||
dump,
|
dump,
|
||||||
dump_filename,
|
dump_filename,
|
||||||
pll_bw_hz,
|
pll_bw_hz,
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
#define GNSS_SDR_gps_l2_m_dll_pll_tracking_H_
|
#define GNSS_SDR_gps_l2_m_dll_pll_tracking_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <gnuradio/msg_queue.h>
|
|
||||||
#include "tracking_interface.h"
|
#include "tracking_interface.h"
|
||||||
#include "gps_l2_m_dll_pll_tracking_cc.h"
|
#include "gps_l2_m_dll_pll_tracking_cc.h"
|
||||||
|
|
||||||
@ -55,8 +54,7 @@ public:
|
|||||||
GpsL2MDllPllTracking(ConfigurationInterface* configuration,
|
GpsL2MDllPllTracking(ConfigurationInterface* configuration,
|
||||||
std::string role,
|
std::string role,
|
||||||
unsigned int in_streams,
|
unsigned int in_streams,
|
||||||
unsigned int out_streams,
|
unsigned int out_streams);
|
||||||
boost::shared_ptr<gr::msg_queue> queue);
|
|
||||||
|
|
||||||
virtual ~GpsL2MDllPllTracking();
|
virtual ~GpsL2MDllPllTracking();
|
||||||
|
|
||||||
@ -102,7 +100,6 @@ private:
|
|||||||
std::string role_;
|
std::string role_;
|
||||||
unsigned int in_streams_;
|
unsigned int in_streams_;
|
||||||
unsigned int out_streams_;
|
unsigned int out_streams_;
|
||||||
boost::shared_ptr<gr::msg_queue> queue_;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GNSS_SDR_gps_l2_m_dll_pll_tracking_H_
|
#endif // GNSS_SDR_gps_l2_m_dll_pll_tracking_H_
|
||||||
|
@ -67,7 +67,6 @@ galileo_e1_dll_pll_veml_make_tracking_cc(
|
|||||||
long if_freq,
|
long if_freq,
|
||||||
long fs_in,
|
long fs_in,
|
||||||
unsigned int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -76,7 +75,7 @@ galileo_e1_dll_pll_veml_make_tracking_cc(
|
|||||||
float very_early_late_space_chips)
|
float very_early_late_space_chips)
|
||||||
{
|
{
|
||||||
return galileo_e1_dll_pll_veml_tracking_cc_sptr(new galileo_e1_dll_pll_veml_tracking_cc(if_freq,
|
return galileo_e1_dll_pll_veml_tracking_cc_sptr(new galileo_e1_dll_pll_veml_tracking_cc(if_freq,
|
||||||
fs_in, vector_length, queue, dump, dump_filename, pll_bw_hz, dll_bw_hz, early_late_space_chips, very_early_late_space_chips));
|
fs_in, vector_length, dump, dump_filename, pll_bw_hz, dll_bw_hz, early_late_space_chips, very_early_late_space_chips));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -94,7 +93,6 @@ galileo_e1_dll_pll_veml_tracking_cc::galileo_e1_dll_pll_veml_tracking_cc(
|
|||||||
long if_freq,
|
long if_freq,
|
||||||
long fs_in,
|
long fs_in,
|
||||||
unsigned int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -111,7 +109,6 @@ galileo_e1_dll_pll_veml_tracking_cc::galileo_e1_dll_pll_veml_tracking_cc(
|
|||||||
this->message_port_register_out(pmt::mp("events"));
|
this->message_port_register_out(pmt::mp("events"));
|
||||||
|
|
||||||
// initialize internal vars
|
// initialize internal vars
|
||||||
d_queue = queue;
|
|
||||||
d_dump = dump;
|
d_dump = dump;
|
||||||
d_if_freq = if_freq;
|
d_if_freq = if_freq;
|
||||||
d_fs_in = fs_in;
|
d_fs_in = fs_in;
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <gnuradio/block.h>
|
#include <gnuradio/block.h>
|
||||||
#include <gnuradio/msg_queue.h>
|
|
||||||
#include "concurrent_queue.h"
|
|
||||||
#include "gnss_synchro.h"
|
#include "gnss_synchro.h"
|
||||||
#include "tracking_2nd_DLL_filter.h"
|
#include "tracking_2nd_DLL_filter.h"
|
||||||
#include "tracking_2nd_PLL_filter.h"
|
#include "tracking_2nd_PLL_filter.h"
|
||||||
@ -51,7 +49,6 @@ galileo_e1_dll_pll_veml_tracking_cc_sptr
|
|||||||
galileo_e1_dll_pll_veml_make_tracking_cc(long if_freq,
|
galileo_e1_dll_pll_veml_make_tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -87,7 +84,6 @@ private:
|
|||||||
galileo_e1_dll_pll_veml_make_tracking_cc(long if_freq,
|
galileo_e1_dll_pll_veml_make_tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -98,7 +94,6 @@ private:
|
|||||||
galileo_e1_dll_pll_veml_tracking_cc(long if_freq,
|
galileo_e1_dll_pll_veml_tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -111,7 +106,6 @@ private:
|
|||||||
void update_local_carrier();
|
void update_local_carrier();
|
||||||
|
|
||||||
// tracking configuration vars
|
// tracking configuration vars
|
||||||
boost::shared_ptr<gr::msg_queue> d_queue;
|
|
||||||
unsigned int d_vector_length;
|
unsigned int d_vector_length;
|
||||||
bool d_dump;
|
bool d_dump;
|
||||||
|
|
||||||
|
@ -69,7 +69,6 @@ galileo_e1_tcp_connector_tracking_cc_sptr galileo_e1_tcp_connector_make_tracking
|
|||||||
long if_freq,
|
long if_freq,
|
||||||
long fs_in,
|
long fs_in,
|
||||||
unsigned int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -79,7 +78,7 @@ galileo_e1_tcp_connector_tracking_cc_sptr galileo_e1_tcp_connector_make_tracking
|
|||||||
size_t port_ch0)
|
size_t port_ch0)
|
||||||
{
|
{
|
||||||
return galileo_e1_tcp_connector_tracking_cc_sptr(new Galileo_E1_Tcp_Connector_Tracking_cc(if_freq,
|
return galileo_e1_tcp_connector_tracking_cc_sptr(new Galileo_E1_Tcp_Connector_Tracking_cc(if_freq,
|
||||||
fs_in, vector_length, queue, dump, dump_filename, pll_bw_hz, dll_bw_hz, early_late_space_chips, very_early_late_space_chips, port_ch0));
|
fs_in, vector_length, dump, dump_filename, pll_bw_hz, dll_bw_hz, early_late_space_chips, very_early_late_space_chips, port_ch0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -97,7 +96,6 @@ Galileo_E1_Tcp_Connector_Tracking_cc::Galileo_E1_Tcp_Connector_Tracking_cc(
|
|||||||
long if_freq,
|
long if_freq,
|
||||||
long fs_in,
|
long fs_in,
|
||||||
unsigned int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz __attribute__((unused)),
|
float pll_bw_hz __attribute__((unused)),
|
||||||
@ -113,7 +111,6 @@ Galileo_E1_Tcp_Connector_Tracking_cc::Galileo_E1_Tcp_Connector_Tracking_cc(
|
|||||||
this->message_port_register_out(pmt::mp("events"));
|
this->message_port_register_out(pmt::mp("events"));
|
||||||
this->set_relative_rate(1.0/vector_length);
|
this->set_relative_rate(1.0/vector_length);
|
||||||
// initialize internal vars
|
// initialize internal vars
|
||||||
d_queue = queue;
|
|
||||||
d_dump = dump;
|
d_dump = dump;
|
||||||
d_if_freq = if_freq;
|
d_if_freq = if_freq;
|
||||||
d_fs_in = fs_in;
|
d_fs_in = fs_in;
|
||||||
|
@ -43,10 +43,8 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <gnuradio/block.h>
|
#include <gnuradio/block.h>
|
||||||
#include <gnuradio/msg_queue.h>
|
|
||||||
#include "concurrent_queue.h"
|
|
||||||
#include "gnss_synchro.h"
|
|
||||||
#include <volk/volk.h>
|
#include <volk/volk.h>
|
||||||
|
#include "gnss_synchro.h"
|
||||||
#include "cpu_multicorrelator.h"
|
#include "cpu_multicorrelator.h"
|
||||||
#include "tcp_communication.h"
|
#include "tcp_communication.h"
|
||||||
|
|
||||||
@ -59,7 +57,6 @@ galileo_e1_tcp_connector_tracking_cc_sptr
|
|||||||
galileo_e1_tcp_connector_make_tracking_cc(long if_freq,
|
galileo_e1_tcp_connector_make_tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -90,7 +87,6 @@ private:
|
|||||||
galileo_e1_tcp_connector_make_tracking_cc(long if_freq,
|
galileo_e1_tcp_connector_make_tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -102,7 +98,6 @@ private:
|
|||||||
Galileo_E1_Tcp_Connector_Tracking_cc(long if_freq,
|
Galileo_E1_Tcp_Connector_Tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -116,7 +111,6 @@ private:
|
|||||||
void update_local_carrier();
|
void update_local_carrier();
|
||||||
|
|
||||||
// tracking configuration vars
|
// tracking configuration vars
|
||||||
boost::shared_ptr<gr::msg_queue> d_queue;
|
|
||||||
unsigned int d_vector_length;
|
unsigned int d_vector_length;
|
||||||
bool d_dump;
|
bool d_dump;
|
||||||
|
|
||||||
|
@ -66,7 +66,6 @@ galileo_e5a_dll_pll_make_tracking_cc(
|
|||||||
long if_freq,
|
long if_freq,
|
||||||
long fs_in,
|
long fs_in,
|
||||||
unsigned int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -77,7 +76,7 @@ galileo_e5a_dll_pll_make_tracking_cc(
|
|||||||
float early_late_space_chips)
|
float early_late_space_chips)
|
||||||
{
|
{
|
||||||
return galileo_e5a_dll_pll_tracking_cc_sptr(new Galileo_E5a_Dll_Pll_Tracking_cc(if_freq,
|
return galileo_e5a_dll_pll_tracking_cc_sptr(new Galileo_E5a_Dll_Pll_Tracking_cc(if_freq,
|
||||||
fs_in, vector_length, queue, dump, dump_filename, pll_bw_hz, dll_bw_hz, pll_bw_init_hz, dll_bw_init_hz, ti_ms, early_late_space_chips));
|
fs_in, vector_length, dump, dump_filename, pll_bw_hz, dll_bw_hz, pll_bw_init_hz, dll_bw_init_hz, ti_ms, early_late_space_chips));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -95,7 +94,6 @@ Galileo_E5a_Dll_Pll_Tracking_cc::Galileo_E5a_Dll_Pll_Tracking_cc(
|
|||||||
long if_freq,
|
long if_freq,
|
||||||
long fs_in,
|
long fs_in,
|
||||||
unsigned int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -112,7 +110,6 @@ Galileo_E5a_Dll_Pll_Tracking_cc::Galileo_E5a_Dll_Pll_Tracking_cc(
|
|||||||
this->message_port_register_out(pmt::mp("events"));
|
this->message_port_register_out(pmt::mp("events"));
|
||||||
this->set_relative_rate(1.0 / vector_length);
|
this->set_relative_rate(1.0 / vector_length);
|
||||||
// initialize internal vars
|
// initialize internal vars
|
||||||
d_queue = queue;
|
|
||||||
d_dump = dump;
|
d_dump = dump;
|
||||||
d_if_freq = if_freq;
|
d_if_freq = if_freq;
|
||||||
d_fs_in = fs_in;
|
d_fs_in = fs_in;
|
||||||
|
@ -41,8 +41,6 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <gnuradio/block.h>
|
#include <gnuradio/block.h>
|
||||||
#include <gnuradio/msg_queue.h>
|
|
||||||
#include "concurrent_queue.h"
|
|
||||||
#include "gnss_synchro.h"
|
#include "gnss_synchro.h"
|
||||||
#include "tracking_2nd_DLL_filter.h"
|
#include "tracking_2nd_DLL_filter.h"
|
||||||
#include "tracking_2nd_PLL_filter.h"
|
#include "tracking_2nd_PLL_filter.h"
|
||||||
@ -57,7 +55,6 @@ galileo_e5a_dll_pll_tracking_cc_sptr
|
|||||||
galileo_e5a_dll_pll_make_tracking_cc(long if_freq,
|
galileo_e5a_dll_pll_make_tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -91,7 +88,6 @@ private:
|
|||||||
galileo_e5a_dll_pll_make_tracking_cc(long if_freq,
|
galileo_e5a_dll_pll_make_tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -104,7 +100,6 @@ private:
|
|||||||
Galileo_E5a_Dll_Pll_Tracking_cc(long if_freq,
|
Galileo_E5a_Dll_Pll_Tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -115,7 +110,6 @@ private:
|
|||||||
float early_late_space_chips);
|
float early_late_space_chips);
|
||||||
void acquire_secondary();
|
void acquire_secondary();
|
||||||
// tracking configuration vars
|
// tracking configuration vars
|
||||||
boost::shared_ptr<gr::msg_queue> d_queue;
|
|
||||||
unsigned int d_vector_length;
|
unsigned int d_vector_length;
|
||||||
int d_current_ti_ms;
|
int d_current_ti_ms;
|
||||||
int d_ti_ms;
|
int d_ti_ms;
|
||||||
|
@ -62,7 +62,6 @@ gps_l1_ca_dll_pll_make_tracking_gpu_cc(
|
|||||||
long if_freq,
|
long if_freq,
|
||||||
long fs_in,
|
long fs_in,
|
||||||
unsigned int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -70,7 +69,7 @@ gps_l1_ca_dll_pll_make_tracking_gpu_cc(
|
|||||||
float early_late_space_chips)
|
float early_late_space_chips)
|
||||||
{
|
{
|
||||||
return gps_l1_ca_dll_pll_tracking_gpu_cc_sptr(new Gps_L1_Ca_Dll_Pll_Tracking_GPU_cc(if_freq,
|
return gps_l1_ca_dll_pll_tracking_gpu_cc_sptr(new Gps_L1_Ca_Dll_Pll_Tracking_GPU_cc(if_freq,
|
||||||
fs_in, vector_length, queue, dump, dump_filename, pll_bw_hz, dll_bw_hz, early_late_space_chips));
|
fs_in, vector_length, dump, dump_filename, pll_bw_hz, dll_bw_hz, early_late_space_chips));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -90,7 +89,6 @@ Gps_L1_Ca_Dll_Pll_Tracking_GPU_cc::Gps_L1_Ca_Dll_Pll_Tracking_GPU_cc(
|
|||||||
long if_freq,
|
long if_freq,
|
||||||
long fs_in,
|
long fs_in,
|
||||||
unsigned int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -103,7 +101,6 @@ Gps_L1_Ca_Dll_Pll_Tracking_GPU_cc::Gps_L1_Ca_Dll_Pll_Tracking_GPU_cc(
|
|||||||
this->message_port_register_in(pmt::mp("preamble_timestamp_s"));
|
this->message_port_register_in(pmt::mp("preamble_timestamp_s"));
|
||||||
this->message_port_register_out(pmt::mp("events"));
|
this->message_port_register_out(pmt::mp("events"));
|
||||||
// initialize internal vars
|
// initialize internal vars
|
||||||
d_queue = queue;
|
|
||||||
d_dump = dump;
|
d_dump = dump;
|
||||||
d_if_freq = if_freq;
|
d_if_freq = if_freq;
|
||||||
d_fs_in = fs_in;
|
d_fs_in = fs_in;
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <gnuradio/block.h>
|
#include <gnuradio/block.h>
|
||||||
#include <gnuradio/msg_queue.h>
|
|
||||||
#include "concurrent_queue.h"
|
|
||||||
#include "gnss_synchro.h"
|
#include "gnss_synchro.h"
|
||||||
#include "tracking_2nd_DLL_filter.h"
|
#include "tracking_2nd_DLL_filter.h"
|
||||||
#include "tracking_FLL_PLL_filter.h"
|
#include "tracking_FLL_PLL_filter.h"
|
||||||
@ -54,9 +52,8 @@ typedef boost::shared_ptr<Gps_L1_Ca_Dll_Pll_Tracking_GPU_cc>
|
|||||||
|
|
||||||
gps_l1_ca_dll_pll_tracking_gpu_cc_sptr
|
gps_l1_ca_dll_pll_tracking_gpu_cc_sptr
|
||||||
gps_l1_ca_dll_pll_make_tracking_gpu_cc(long if_freq,
|
gps_l1_ca_dll_pll_make_tracking_gpu_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in,
|
||||||
int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -85,9 +82,8 @@ public:
|
|||||||
private:
|
private:
|
||||||
friend gps_l1_ca_dll_pll_tracking_gpu_cc_sptr
|
friend gps_l1_ca_dll_pll_tracking_gpu_cc_sptr
|
||||||
gps_l1_ca_dll_pll_make_tracking_gpu_cc(long if_freq,
|
gps_l1_ca_dll_pll_make_tracking_gpu_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in,
|
||||||
int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -95,9 +91,8 @@ private:
|
|||||||
float early_late_space_chips);
|
float early_late_space_chips);
|
||||||
|
|
||||||
Gps_L1_Ca_Dll_Pll_Tracking_GPU_cc(long if_freq,
|
Gps_L1_Ca_Dll_Pll_Tracking_GPU_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in,
|
||||||
int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -107,7 +102,6 @@ private:
|
|||||||
void update_local_carrier();
|
void update_local_carrier();
|
||||||
|
|
||||||
// tracking configuration vars
|
// tracking configuration vars
|
||||||
boost::shared_ptr<gr::msg_queue> d_queue;
|
|
||||||
unsigned int d_vector_length;
|
unsigned int d_vector_length;
|
||||||
bool d_dump;
|
bool d_dump;
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* Code DLL + carrier PLL according to the algorithms described in:
|
* Code DLL + carrier PLL according to the algorithms described in:
|
||||||
* [1] K.Borre, D.M.Akos, N.Bertelsen, P.Rinder, and S.H.Jensen,
|
* [1] K.Borre, D.M.Akos, N.Bertelsen, P.Rinder, and S.H.Jensen,
|
||||||
* A Software-Defined GPS and Galileo Receiver. A Single-Frequency
|
* A Software-Defined GPS and Galileo Receiver. A Single-Frequency
|
||||||
* Approach, Birkha user, 2007
|
* Approach, Birkhauser, 2007
|
||||||
*
|
*
|
||||||
* -------------------------------------------------------------------------
|
* -------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
@ -67,14 +67,13 @@ gps_l1_ca_tcp_connector_make_tracking_cc(
|
|||||||
long if_freq,
|
long if_freq,
|
||||||
long fs_in,
|
long fs_in,
|
||||||
unsigned int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float early_late_space_chips,
|
float early_late_space_chips,
|
||||||
size_t port_ch0)
|
size_t port_ch0)
|
||||||
{
|
{
|
||||||
return gps_l1_ca_tcp_connector_tracking_cc_sptr(new Gps_L1_Ca_Tcp_Connector_Tracking_cc(if_freq,
|
return gps_l1_ca_tcp_connector_tracking_cc_sptr(new Gps_L1_Ca_Tcp_Connector_Tracking_cc(if_freq,
|
||||||
fs_in, vector_length, queue, dump, dump_filename, early_late_space_chips, port_ch0));
|
fs_in, vector_length, dump, dump_filename, early_late_space_chips, port_ch0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -94,7 +93,6 @@ Gps_L1_Ca_Tcp_Connector_Tracking_cc::Gps_L1_Ca_Tcp_Connector_Tracking_cc(
|
|||||||
long if_freq,
|
long if_freq,
|
||||||
long fs_in,
|
long fs_in,
|
||||||
unsigned int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float early_late_space_chips,
|
float early_late_space_chips,
|
||||||
@ -106,7 +104,6 @@ Gps_L1_Ca_Tcp_Connector_Tracking_cc::Gps_L1_Ca_Tcp_Connector_Tracking_cc(
|
|||||||
this->message_port_register_in(pmt::mp("preamble_timestamp_s"));
|
this->message_port_register_in(pmt::mp("preamble_timestamp_s"));
|
||||||
this->message_port_register_out(pmt::mp("events"));
|
this->message_port_register_out(pmt::mp("events"));
|
||||||
// initialize internal vars
|
// initialize internal vars
|
||||||
d_queue = queue;
|
|
||||||
d_dump = dump;
|
d_dump = dump;
|
||||||
d_if_freq = if_freq;
|
d_if_freq = if_freq;
|
||||||
d_fs_in = fs_in;
|
d_fs_in = fs_in;
|
||||||
|
@ -41,8 +41,6 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <gnuradio/block.h>
|
#include <gnuradio/block.h>
|
||||||
#include <gnuradio/msg_queue.h>
|
|
||||||
#include "concurrent_queue.h"
|
|
||||||
#include "gnss_synchro.h"
|
#include "gnss_synchro.h"
|
||||||
#include "cpu_multicorrelator.h"
|
#include "cpu_multicorrelator.h"
|
||||||
#include "tcp_communication.h"
|
#include "tcp_communication.h"
|
||||||
@ -57,7 +55,6 @@ gps_l1_ca_tcp_connector_tracking_cc_sptr
|
|||||||
gps_l1_ca_tcp_connector_make_tracking_cc(long if_freq,
|
gps_l1_ca_tcp_connector_make_tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float early_late_space_chips,
|
float early_late_space_chips,
|
||||||
@ -90,7 +87,6 @@ private:
|
|||||||
gps_l1_ca_tcp_connector_make_tracking_cc(long if_freq,
|
gps_l1_ca_tcp_connector_make_tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float early_late_space_chips,
|
float early_late_space_chips,
|
||||||
@ -99,14 +95,12 @@ private:
|
|||||||
Gps_L1_Ca_Tcp_Connector_Tracking_cc(long if_freq,
|
Gps_L1_Ca_Tcp_Connector_Tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float early_late_space_chips,
|
float early_late_space_chips,
|
||||||
size_t port_ch0);
|
size_t port_ch0);
|
||||||
|
|
||||||
// tracking configuration vars
|
// tracking configuration vars
|
||||||
boost::shared_ptr<gr::msg_queue> d_queue;
|
|
||||||
unsigned int d_vector_length;
|
unsigned int d_vector_length;
|
||||||
bool d_dump;
|
bool d_dump;
|
||||||
|
|
||||||
|
@ -66,7 +66,6 @@ gps_l2_m_dll_pll_make_tracking_cc(
|
|||||||
long if_freq,
|
long if_freq,
|
||||||
long fs_in,
|
long fs_in,
|
||||||
unsigned int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -74,7 +73,7 @@ gps_l2_m_dll_pll_make_tracking_cc(
|
|||||||
float early_late_space_chips)
|
float early_late_space_chips)
|
||||||
{
|
{
|
||||||
return gps_l2_m_dll_pll_tracking_cc_sptr(new gps_l2_m_dll_pll_tracking_cc(if_freq,
|
return gps_l2_m_dll_pll_tracking_cc_sptr(new gps_l2_m_dll_pll_tracking_cc(if_freq,
|
||||||
fs_in, vector_length, queue, dump, dump_filename, pll_bw_hz, dll_bw_hz, early_late_space_chips));
|
fs_in, vector_length, dump, dump_filename, pll_bw_hz, dll_bw_hz, early_late_space_chips));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -93,7 +92,6 @@ gps_l2_m_dll_pll_tracking_cc::gps_l2_m_dll_pll_tracking_cc(
|
|||||||
long if_freq,
|
long if_freq,
|
||||||
long fs_in,
|
long fs_in,
|
||||||
unsigned int vector_length,
|
unsigned int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -106,7 +104,6 @@ gps_l2_m_dll_pll_tracking_cc::gps_l2_m_dll_pll_tracking_cc(
|
|||||||
this->message_port_register_in(pmt::mp("preamble_timestamp_s"));
|
this->message_port_register_in(pmt::mp("preamble_timestamp_s"));
|
||||||
this->message_port_register_out(pmt::mp("events"));
|
this->message_port_register_out(pmt::mp("events"));
|
||||||
// initialize internal vars
|
// initialize internal vars
|
||||||
d_queue = queue;
|
|
||||||
d_dump = dump;
|
d_dump = dump;
|
||||||
d_if_freq = if_freq;
|
d_if_freq = if_freq;
|
||||||
d_fs_in = fs_in;
|
d_fs_in = fs_in;
|
||||||
|
@ -37,12 +37,9 @@
|
|||||||
#define GNSS_SDR_GPS_L2_M_DLL_PLL_TRACKING_CC_H
|
#define GNSS_SDR_GPS_L2_M_DLL_PLL_TRACKING_CC_H
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <queue>
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <gnuradio/block.h>
|
#include <gnuradio/block.h>
|
||||||
#include <gnuradio/msg_queue.h>
|
|
||||||
#include "concurrent_queue.h"
|
|
||||||
#include "gnss_synchro.h"
|
#include "gnss_synchro.h"
|
||||||
#include "tracking_2nd_DLL_filter.h"
|
#include "tracking_2nd_DLL_filter.h"
|
||||||
#include "tracking_2nd_PLL_filter.h"
|
#include "tracking_2nd_PLL_filter.h"
|
||||||
@ -57,7 +54,6 @@ gps_l2_m_dll_pll_tracking_cc_sptr
|
|||||||
gps_l2_m_dll_pll_make_tracking_cc(long if_freq,
|
gps_l2_m_dll_pll_make_tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -88,7 +84,6 @@ private:
|
|||||||
gps_l2_m_dll_pll_make_tracking_cc(long if_freq,
|
gps_l2_m_dll_pll_make_tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -98,7 +93,6 @@ private:
|
|||||||
gps_l2_m_dll_pll_tracking_cc(long if_freq,
|
gps_l2_m_dll_pll_tracking_cc(long if_freq,
|
||||||
long fs_in, unsigned
|
long fs_in, unsigned
|
||||||
int vector_length,
|
int vector_length,
|
||||||
boost::shared_ptr<gr::msg_queue> queue,
|
|
||||||
bool dump,
|
bool dump,
|
||||||
std::string dump_filename,
|
std::string dump_filename,
|
||||||
float pll_bw_hz,
|
float pll_bw_hz,
|
||||||
@ -106,7 +100,6 @@ private:
|
|||||||
float early_late_space_chips);
|
float early_late_space_chips);
|
||||||
|
|
||||||
// tracking configuration vars
|
// tracking configuration vars
|
||||||
boost::shared_ptr<gr::msg_queue> d_queue;
|
|
||||||
unsigned int d_vector_length;
|
unsigned int d_vector_length;
|
||||||
bool d_dump;
|
bool d_dump;
|
||||||
|
|
||||||
|
@ -294,7 +294,7 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetChannel_1C(
|
|||||||
|
|
||||||
std::unique_ptr<GNSSBlockInterface> pass_through_ = GetBlock(configuration, "Channel", "Pass_Through", 1, 1, queue);
|
std::unique_ptr<GNSSBlockInterface> pass_through_ = GetBlock(configuration, "Channel", "Pass_Through", 1, 1, queue);
|
||||||
std::unique_ptr<AcquisitionInterface> acq_ = GetAcqBlock(configuration, "Acquisition_1C" + appendix1, acq, 1, 0, queue);
|
std::unique_ptr<AcquisitionInterface> acq_ = GetAcqBlock(configuration, "Acquisition_1C" + appendix1, acq, 1, 0, queue);
|
||||||
std::unique_ptr<TrackingInterface> trk_ = GetTrkBlock(configuration, "Tracking_1C"+ appendix2, trk, 1, 1, queue);
|
std::unique_ptr<TrackingInterface> trk_ = GetTrkBlock(configuration, "Tracking_1C"+ appendix2, trk, 1, 1);
|
||||||
std::unique_ptr<TelemetryDecoderInterface> tlm_ = GetTlmBlock(configuration, "TelemetryDecoder_1C" + appendix3, tlm, 1, 1);
|
std::unique_ptr<TelemetryDecoderInterface> tlm_ = GetTlmBlock(configuration, "TelemetryDecoder_1C" + appendix3, tlm, 1, 1);
|
||||||
|
|
||||||
std::unique_ptr<GNSSBlockInterface> channel_(new Channel(configuration.get(), channel, std::move(pass_through_),
|
std::unique_ptr<GNSSBlockInterface> channel_(new Channel(configuration.get(), channel, std::move(pass_through_),
|
||||||
@ -348,8 +348,7 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetChannel_2S(
|
|||||||
|
|
||||||
std::unique_ptr<GNSSBlockInterface> pass_through_ = GetBlock(configuration, "Channel", "Pass_Through", 1, 1, queue);
|
std::unique_ptr<GNSSBlockInterface> pass_through_ = GetBlock(configuration, "Channel", "Pass_Through", 1, 1, queue);
|
||||||
std::unique_ptr<AcquisitionInterface> acq_ = GetAcqBlock(configuration, "Acquisition_2S" + appendix1 , acq, 1, 0, queue);
|
std::unique_ptr<AcquisitionInterface> acq_ = GetAcqBlock(configuration, "Acquisition_2S" + appendix1 , acq, 1, 0, queue);
|
||||||
std::unique_ptr<TrackingInterface> trk_ = GetTrkBlock(configuration, "Tracking_2S" + appendix2, trk, 1, 1, queue);
|
std::unique_ptr<TrackingInterface> trk_ = GetTrkBlock(configuration, "Tracking_2S" + appendix2, trk, 1, 1);
|
||||||
|
|
||||||
std::unique_ptr<TelemetryDecoderInterface> tlm_ = GetTlmBlock(configuration, "TelemetryDecoder_2S" + appendix3, tlm, 1, 1);
|
std::unique_ptr<TelemetryDecoderInterface> tlm_ = GetTlmBlock(configuration, "TelemetryDecoder_2S" + appendix3, tlm, 1, 1);
|
||||||
|
|
||||||
std::unique_ptr<GNSSBlockInterface> channel_(new Channel(configuration.get(), channel, std::move(pass_through_),
|
std::unique_ptr<GNSSBlockInterface> channel_(new Channel(configuration.get(), channel, std::move(pass_through_),
|
||||||
@ -405,7 +404,7 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetChannel_1B(
|
|||||||
|
|
||||||
std::unique_ptr<GNSSBlockInterface> pass_through_ = GetBlock(configuration, "Channel", "Pass_Through", 1, 1, queue);
|
std::unique_ptr<GNSSBlockInterface> pass_through_ = GetBlock(configuration, "Channel", "Pass_Through", 1, 1, queue);
|
||||||
std::unique_ptr<AcquisitionInterface> acq_ = GetAcqBlock(configuration, "Acquisition_1B" + appendix1, acq, 1, 0, queue);
|
std::unique_ptr<AcquisitionInterface> acq_ = GetAcqBlock(configuration, "Acquisition_1B" + appendix1, acq, 1, 0, queue);
|
||||||
std::unique_ptr<TrackingInterface> trk_ = GetTrkBlock(configuration, "Tracking_1B" + appendix2, trk, 1, 1, queue);
|
std::unique_ptr<TrackingInterface> trk_ = GetTrkBlock(configuration, "Tracking_1B" + appendix2, trk, 1, 1);
|
||||||
std::unique_ptr<TelemetryDecoderInterface> tlm_ = GetTlmBlock(configuration, "TelemetryDecoder_1B" + appendix3, tlm, 1, 1);
|
std::unique_ptr<TelemetryDecoderInterface> tlm_ = GetTlmBlock(configuration, "TelemetryDecoder_1B" + appendix3, tlm, 1, 1);
|
||||||
|
|
||||||
std::unique_ptr<GNSSBlockInterface> channel_(new Channel(configuration.get(), channel, std::move(pass_through_),
|
std::unique_ptr<GNSSBlockInterface> channel_(new Channel(configuration.get(), channel, std::move(pass_through_),
|
||||||
@ -461,7 +460,7 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetChannel_5X(
|
|||||||
|
|
||||||
std::unique_ptr<GNSSBlockInterface> pass_through_ = GetBlock(configuration, "Channel", "Pass_Through", 1, 1, queue);
|
std::unique_ptr<GNSSBlockInterface> pass_through_ = GetBlock(configuration, "Channel", "Pass_Through", 1, 1, queue);
|
||||||
std::unique_ptr<AcquisitionInterface> acq_ = GetAcqBlock(configuration, "Acquisition_5X" + appendix1, acq, 1, 0, queue);
|
std::unique_ptr<AcquisitionInterface> acq_ = GetAcqBlock(configuration, "Acquisition_5X" + appendix1, acq, 1, 0, queue);
|
||||||
std::unique_ptr<TrackingInterface> trk_ = GetTrkBlock(configuration, "Tracking_5X" + appendix2, trk, 1, 1, queue);
|
std::unique_ptr<TrackingInterface> trk_ = GetTrkBlock(configuration, "Tracking_5X" + appendix2, trk, 1, 1);
|
||||||
std::unique_ptr<TelemetryDecoderInterface> tlm_ = GetTlmBlock(configuration, "TelemetryDecoder_5X" + appendix3, tlm, 1, 1);
|
std::unique_ptr<TelemetryDecoderInterface> tlm_ = GetTlmBlock(configuration, "TelemetryDecoder_5X" + appendix3, tlm, 1, 1);
|
||||||
|
|
||||||
std::unique_ptr<GNSSBlockInterface> channel_(new Channel(configuration.get(), channel, std::move(pass_through_),
|
std::unique_ptr<GNSSBlockInterface> channel_(new Channel(configuration.get(), channel, std::move(pass_through_),
|
||||||
@ -950,25 +949,39 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetBlock(
|
|||||||
else if (implementation.compare("GPS_L1_CA_TCP_CONNECTOR_Tracking") == 0)
|
else if (implementation.compare("GPS_L1_CA_TCP_CONNECTOR_Tracking") == 0)
|
||||||
{
|
{
|
||||||
std::unique_ptr<GNSSBlockInterface> block_(new GpsL1CaTcpConnectorTracking(configuration.get(), role, in_streams,
|
std::unique_ptr<GNSSBlockInterface> block_(new GpsL1CaTcpConnectorTracking(configuration.get(), role, in_streams,
|
||||||
out_streams, queue));
|
out_streams));
|
||||||
block = std::move(block_);
|
block = std::move(block_);
|
||||||
}
|
}
|
||||||
|
else if (implementation.compare("GPS_L2_M_DLL_PLL_Tracking") == 0)
|
||||||
|
{
|
||||||
|
std::unique_ptr<GNSSBlockInterface> block_(new GpsL2MDllPllTracking(configuration.get(), role, in_streams,
|
||||||
|
out_streams));
|
||||||
|
block = std::move(block_);
|
||||||
|
}
|
||||||
|
#if CUDA_GPU_ACCEL
|
||||||
|
else if (implementation.compare("GPS_L1_CA_DLL_PLL_Tracking_GPU") == 0)
|
||||||
|
{
|
||||||
|
std::unique_ptr<GNSSBlockInterface> block_(new GpsL1CaDllPllTrackingGPU(configuration.get(), role, in_streams,
|
||||||
|
out_streams));
|
||||||
|
block = std::move(block_);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
else if (implementation.compare("Galileo_E1_DLL_PLL_VEML_Tracking") == 0)
|
else if (implementation.compare("Galileo_E1_DLL_PLL_VEML_Tracking") == 0)
|
||||||
{
|
{
|
||||||
std::unique_ptr<GNSSBlockInterface> block_(new GalileoE1DllPllVemlTracking(configuration.get(), role, in_streams,
|
std::unique_ptr<GNSSBlockInterface> block_(new GalileoE1DllPllVemlTracking(configuration.get(), role, in_streams,
|
||||||
out_streams, queue));
|
out_streams));
|
||||||
block = std::move(block_);
|
block = std::move(block_);
|
||||||
}
|
}
|
||||||
else if (implementation.compare("Galileo_E1_TCP_CONNECTOR_Tracking") == 0)
|
else if (implementation.compare("Galileo_E1_TCP_CONNECTOR_Tracking") == 0)
|
||||||
{
|
{
|
||||||
std::unique_ptr<GNSSBlockInterface> block_(new GalileoE1TcpConnectorTracking(configuration.get(), role, in_streams,
|
std::unique_ptr<GNSSBlockInterface> block_(new GalileoE1TcpConnectorTracking(configuration.get(), role, in_streams,
|
||||||
out_streams, queue));
|
out_streams));
|
||||||
block = std::move(block_);
|
block = std::move(block_);
|
||||||
}
|
}
|
||||||
else if (implementation.compare("Galileo_E5a_DLL_PLL_Tracking") == 0)
|
else if (implementation.compare("Galileo_E5a_DLL_PLL_Tracking") == 0)
|
||||||
{
|
{
|
||||||
std::unique_ptr<GNSSBlockInterface> block_(new GalileoE5aDllPllTracking(configuration.get(), role, in_streams,
|
std::unique_ptr<GNSSBlockInterface> block_(new GalileoE5aDllPllTracking(configuration.get(), role, in_streams,
|
||||||
out_streams, queue));
|
out_streams));
|
||||||
block = std::move(block_);
|
block = std::move(block_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1164,7 +1177,7 @@ std::unique_ptr<TrackingInterface> GNSSBlockFactory::GetTrkBlock(
|
|||||||
std::shared_ptr<ConfigurationInterface> configuration,
|
std::shared_ptr<ConfigurationInterface> configuration,
|
||||||
std::string role,
|
std::string role,
|
||||||
std::string implementation, unsigned int in_streams,
|
std::string implementation, unsigned int in_streams,
|
||||||
unsigned int out_streams, boost::shared_ptr<gr::msg_queue> queue)
|
unsigned int out_streams)
|
||||||
{
|
{
|
||||||
std::unique_ptr<TrackingInterface> block;
|
std::unique_ptr<TrackingInterface> block;
|
||||||
|
|
||||||
@ -1184,38 +1197,38 @@ std::unique_ptr<TrackingInterface> GNSSBlockFactory::GetTrkBlock(
|
|||||||
else if (implementation.compare("GPS_L1_CA_TCP_CONNECTOR_Tracking") == 0)
|
else if (implementation.compare("GPS_L1_CA_TCP_CONNECTOR_Tracking") == 0)
|
||||||
{
|
{
|
||||||
std::unique_ptr<TrackingInterface> block_(new GpsL1CaTcpConnectorTracking(configuration.get(), role, in_streams,
|
std::unique_ptr<TrackingInterface> block_(new GpsL1CaTcpConnectorTracking(configuration.get(), role, in_streams,
|
||||||
out_streams, queue));
|
out_streams));
|
||||||
block = std::move(block_);
|
block = std::move(block_);
|
||||||
}
|
}
|
||||||
else if (implementation.compare("Galileo_E1_DLL_PLL_VEML_Tracking") == 0)
|
else if (implementation.compare("Galileo_E1_DLL_PLL_VEML_Tracking") == 0)
|
||||||
{
|
{
|
||||||
std::unique_ptr<TrackingInterface> block_(new GalileoE1DllPllVemlTracking(configuration.get(), role, in_streams,
|
std::unique_ptr<TrackingInterface> block_(new GalileoE1DllPllVemlTracking(configuration.get(), role, in_streams,
|
||||||
out_streams, queue));
|
out_streams));
|
||||||
block = std::move(block_);
|
block = std::move(block_);
|
||||||
}
|
}
|
||||||
else if (implementation.compare("Galileo_E1_TCP_CONNECTOR_Tracking") == 0)
|
else if (implementation.compare("Galileo_E1_TCP_CONNECTOR_Tracking") == 0)
|
||||||
{
|
{
|
||||||
std::unique_ptr<TrackingInterface> block_(new GalileoE1TcpConnectorTracking(configuration.get(), role, in_streams,
|
std::unique_ptr<TrackingInterface> block_(new GalileoE1TcpConnectorTracking(configuration.get(), role, in_streams,
|
||||||
out_streams, queue));
|
out_streams));
|
||||||
block = std::move(block_);
|
block = std::move(block_);
|
||||||
}
|
}
|
||||||
else if (implementation.compare("Galileo_E5a_DLL_PLL_Tracking") == 0)
|
else if (implementation.compare("Galileo_E5a_DLL_PLL_Tracking") == 0)
|
||||||
{
|
{
|
||||||
std::unique_ptr<TrackingInterface> block_(new GalileoE5aDllPllTracking(configuration.get(), role, in_streams,
|
std::unique_ptr<TrackingInterface> block_(new GalileoE5aDllPllTracking(configuration.get(), role, in_streams,
|
||||||
out_streams, queue));
|
out_streams));
|
||||||
block = std::move(block_);
|
block = std::move(block_);
|
||||||
}
|
}
|
||||||
else if (implementation.compare("GPS_L2_M_DLL_PLL_Tracking") == 0)
|
else if (implementation.compare("GPS_L2_M_DLL_PLL_Tracking") == 0)
|
||||||
{
|
{
|
||||||
std::unique_ptr<TrackingInterface> block_(new GpsL2MDllPllTracking(configuration.get(), role, in_streams,
|
std::unique_ptr<TrackingInterface> block_(new GpsL2MDllPllTracking(configuration.get(), role, in_streams,
|
||||||
out_streams, queue));
|
out_streams));
|
||||||
block = std::move(block_);
|
block = std::move(block_);
|
||||||
}
|
}
|
||||||
#if CUDA_GPU_ACCEL
|
#if CUDA_GPU_ACCEL
|
||||||
else if (implementation.compare("GPS_L1_CA_DLL_PLL_Tracking_GPU") == 0)
|
else if (implementation.compare("GPS_L1_CA_DLL_PLL_Tracking_GPU") == 0)
|
||||||
{
|
{
|
||||||
std::unique_ptr<TrackingInterface> block_(new GpsL1CaDllPllTrackingGPU(configuration.get(), role, in_streams,
|
std::unique_ptr<TrackingInterface> block_(new GpsL1CaDllPllTrackingGPU(configuration.get(), role, in_streams,
|
||||||
out_streams, queue));
|
out_streams));
|
||||||
block = std::move(block_);
|
block = std::move(block_);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -110,7 +110,7 @@ private:
|
|||||||
std::shared_ptr<ConfigurationInterface> configuration,
|
std::shared_ptr<ConfigurationInterface> configuration,
|
||||||
std::string role,
|
std::string role,
|
||||||
std::string implementation, unsigned int in_streams,
|
std::string implementation, unsigned int in_streams,
|
||||||
unsigned int out_streams, boost::shared_ptr<gr::msg_queue> queue);
|
unsigned int out_streams);
|
||||||
|
|
||||||
std::unique_ptr<TelemetryDecoderInterface> GetTlmBlock(
|
std::unique_ptr<TelemetryDecoderInterface> GetTlmBlock(
|
||||||
std::shared_ptr<ConfigurationInterface> configuration,
|
std::shared_ptr<ConfigurationInterface> configuration,
|
||||||
|
@ -159,7 +159,7 @@ TEST_F(GpsL2MDllPllTrackingTest, ValidationOfResults)
|
|||||||
init();
|
init();
|
||||||
queue = gr::msg_queue::make(0);
|
queue = gr::msg_queue::make(0);
|
||||||
top_block = gr::make_top_block("Tracking test");
|
top_block = gr::make_top_block("Tracking test");
|
||||||
std::shared_ptr<TrackingInterface> tracking = std::make_shared<GpsL2MDllPllTracking>(config.get(), "Tracking_2S", 1, 1, queue);
|
std::shared_ptr<TrackingInterface> tracking = std::make_shared<GpsL2MDllPllTracking>(config.get(), "Tracking_2S", 1, 1);
|
||||||
boost::shared_ptr<GpsL2MDllPllTrackingTest_msg_rx> msg_rx = GpsL2MDllPllTrackingTest_msg_rx_make();
|
boost::shared_ptr<GpsL2MDllPllTrackingTest_msg_rx> msg_rx = GpsL2MDllPllTrackingTest_msg_rx_make();
|
||||||
|
|
||||||
gnss_synchro.Acq_delay_samples = 1;
|
gnss_synchro.Acq_delay_samples = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user