From c2e04a23c6610d230d7fdc824c59533e1520f8f0 Mon Sep 17 00:00:00 2001 From: Gastd Date: Sun, 23 Jul 2017 22:49:15 -0300 Subject: [PATCH] Add Glonass Tracking block to block factory --- src/core/receiver/gnss_block_factory.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/core/receiver/gnss_block_factory.cc b/src/core/receiver/gnss_block_factory.cc index 39557a0a9..9f0f6c28a 100644 --- a/src/core/receiver/gnss_block_factory.cc +++ b/src/core/receiver/gnss_block_factory.cc @@ -86,6 +86,7 @@ #include "galileo_e1_tcp_connector_tracking.h" #include "galileo_e5a_dll_pll_tracking.h" #include "gps_l2_m_dll_pll_tracking.h" +#include "glonass_l1_ca_dll_pll_tracking.h" #include "gps_l1_ca_telemetry_decoder.h" #include "gps_l2c_telemetry_decoder.h" #include "galileo_e1b_telemetry_decoder.h" @@ -1157,6 +1158,12 @@ std::unique_ptr GNSSBlockFactory::GetBlock( out_streams)); block = std::move(block_); } + else if (implementation.compare("GLONASS_L1_CA_DLL_PLL_Tracking") == 0) + { + std::unique_ptr block_(new GlonassL1CaDllPllTracking(configuration.get(), role, in_streams, + out_streams)); + block = std::move(block_); + } // TELEMETRY DECODERS ---------------------------------------------------------- else if (implementation.compare("GPS_L1_CA_Telemetry_Decoder") == 0) @@ -1409,6 +1416,12 @@ std::unique_ptr GNSSBlockFactory::GetTrkBlock( block = std::move(block_); } #endif + else if (implementation.compare("GLONASS_L1_CA_DLL_PLL_Tracking") == 0) + { + std::unique_ptr block_(new GlonassL1CaDllPllTracking(configuration.get(), role, in_streams, + out_streams)); + block = std::move(block_); + } else { // Log fatal. This causes execution to stop.