From af8ced3a2e504b6dba2111148604b17d102db15e Mon Sep 17 00:00:00 2001 From: Luis Esteve Date: Fri, 6 May 2016 17:01:11 +0200 Subject: [PATCH] Improve documentation of gnss_block_factory.cc --- src/core/receiver/gnss_block_factory.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/core/receiver/gnss_block_factory.cc b/src/core/receiver/gnss_block_factory.cc index d337d4059..dc2e686fe 100644 --- a/src/core/receiver/gnss_block_factory.cc +++ b/src/core/receiver/gnss_block_factory.cc @@ -255,7 +255,8 @@ std::unique_ptr GNSSBlockFactory::GetChannel_1C( std::string acq, std::string trk, std::string tlm, int channel, boost::shared_ptr queue) { - + //"appendix" is added to the "role" with the aim of Acquisition, Tracking and Telemetry Decoder adapters + //can find their specific configurations when they read the config //TODO: REMOVE APPENDIX!! AND CHECK ALTERNATIVE MECHANISM TO GET PARTICULARIZED PARAMETERS LOG(INFO) << "Instantiating Channel " << channel << " with Acquisition Implementation: " << acq << ", Tracking Implementation: " << trk << ", Telemetry Decoder implementation: " << tlm; @@ -497,9 +498,10 @@ std::unique_ptr>> GNSSBlockFacto //**************** GPS L1 C/A CHANNELS ********************** LOG(INFO) << "Getting " << Channels_1C_count << " GPS L1 C/A channels"; + acquisition_implementation = configuration->property("Acquisition_1C.implementation", default_implementation); tracking_implementation = configuration->property("Tracking_1C.implementation", default_implementation); telemetry_decoder_implementation = configuration->property("TelemetryDecoder_1C.implementation", default_implementation); - acquisition_implementation = configuration->property("Acquisition_1C.implementation", default_implementation); + for (unsigned int i = 0; i < Channels_1C_count; i++) { @@ -554,7 +556,7 @@ std::unique_ptr>> GNSSBlockFacto channel_absolute_id++; } - //**************** GALILEO E1 B (I/NAV OS) ********************** + //**************** GALILEO E1 B (I/NAV OS) CHANNELS ********************** LOG(INFO) << "Getting " << Channels_1B_count << " GALILEO E1 B (I/NAV OS) channels"; tracking_implementation = configuration->property("Tracking_1B.implementation", default_implementation);