From 731d0e04eba32b11da6e266268b9068811b1bbb6 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sat, 29 Apr 2017 19:12:27 +0200 Subject: [PATCH] Tell the scheduler that PVT is a sink block --- src/core/receiver/gnss_block_factory.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/receiver/gnss_block_factory.cc b/src/core/receiver/gnss_block_factory.cc index b8f63e138..34c6007ab 100644 --- a/src/core/receiver/gnss_block_factory.cc +++ b/src/core/receiver/gnss_block_factory.cc @@ -231,14 +231,14 @@ std::unique_ptr GNSSBlockFactory::GetObservables(std::shared std::unique_ptr GNSSBlockFactory::GetPVT(std::shared_ptr configuration) { - std::string default_implementation = "Hybrid_PVT"; + std::string default_implementation = "RTKLIB_PVT"; std::string implementation = configuration->property("PVT.implementation", default_implementation); LOG(INFO) << "Getting PVT with implementation " << implementation; - unsigned int Galileo_channels =configuration->property("Channels_1B.count", 0); + unsigned int Galileo_channels = configuration->property("Channels_1B.count", 0); Galileo_channels += configuration->property("Channels_5X.count", 0); - unsigned int GPS_channels =configuration->property("Channels_1C.count", 0); + unsigned int GPS_channels = configuration->property("Channels_1C.count", 0); GPS_channels += configuration->property("Channels_2S.count", 0); - return GetBlock(configuration, "PVT", implementation, Galileo_channels + GPS_channels, 1); + return GetBlock(configuration, "PVT", implementation, Galileo_channels + GPS_channels, 0); }