[hamradio-commits] [gnss-sdr] 22/60: Debug output cleaning

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Sun Mar 22 11:15:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

carles_fernandez-guest pushed a commit to branch next
in repository gnss-sdr.

commit 7a681a287d0b47b47a678c639f1205d047c64367
Author: Javier Arribas <jarribas at cttc.es>
Date:   Sun Mar 1 20:58:03 2015 +0100

    Debug output cleaning
---
 src/algorithms/signal_source/adapters/uhd_signal_source.cc | 2 --
 src/core/receiver/gnss_flowgraph.cc                        | 8 ++------
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/algorithms/signal_source/adapters/uhd_signal_source.cc b/src/algorithms/signal_source/adapters/uhd_signal_source.cc
index 5d1cd5e..aad3769 100644
--- a/src/algorithms/signal_source/adapters/uhd_signal_source.cc
+++ b/src/algorithms/signal_source/adapters/uhd_signal_source.cc
@@ -303,12 +303,10 @@ gr::basic_block_sptr UhdSignalSource::get_right_block(int RF_channel)
 	//TODO: There is a incoherence here: Multichannel UHD is a single block with multiple outputs, but if the sample imit is enable, the output is a multiple block!
     if (samples_.at(RF_channel) != 0)
         {
-    		std::cout<<"return valve!"<<std::endl;
             return valve_.at(RF_channel);
         }
     else
         {
-    	std::cout<<"return uhd!"<<std::endl;
             return uhd_source_;
         }
 }
diff --git a/src/core/receiver/gnss_flowgraph.cc b/src/core/receiver/gnss_flowgraph.cc
index 9014d0d..77a07f9 100644
--- a/src/core/receiver/gnss_flowgraph.cc
+++ b/src/core/receiver/gnss_flowgraph.cc
@@ -234,9 +234,7 @@ void GNSSFlowgraph::connect()
 							for (int j=0; j<RF_Channels; j++)
 							{
 								//Connect the multichannel signal source to multiple signal conditioners
-								std::cout<<"Output signature max cstreams ="<<sig_source_.at(i)->get_right_block()->output_signature()->max_streams()<<std::endl;
 								top_block_->connect(sig_source_.at(i)->get_right_block(), j, sig_conditioner_.at(signal_conditioner_ID)->get_left_block(), 0);
-								std::cout << "Connect signal source "<<i<<", CH "<<j<<" to sign_conditioner "<<signal_conditioner_ID<<std::endl;
 								signal_conditioner_ID++;
 							}
 
@@ -265,7 +263,6 @@ void GNSSFlowgraph::connect()
 			{
 			top_block_->connect(sig_conditioner_.at(selected_signal_conditioner_ID)->get_right_block(), 0,
 					channels_.at(i)->get_left_block(), 0);
-			std::cout << "Connect sig_conditioner_ "<<selected_signal_conditioner_ID<<" to channel "<<i<<std::endl;
 
             }
             catch (std::exception& e)
@@ -483,13 +480,13 @@ void GNSSFlowgraph::init()
     {
 		for (int i = 0; i < sources_count_; i++)
 			{
-			std::cout<<"creating source "<<i<<std::endl;
+			std::cout<<"Creating source "<<i<<std::endl;
 			sig_source_.push_back(block_factory_->GetSignalSource(configuration_, queue_,i));
 			//TODO: Create a class interface for SignalSources, derived from GNSSBlockInterface.
 			//Include GetRFChannels in the interface to avoid read config parameters here
 		    //read the number of RF channels for each front-end
 			RF_Channels=configuration_->property(sig_source_.at(i)->role() + ".RF_channels", 1);
-			std::cout<<"RF_Channels="<<RF_Channels<<std::endl;
+			std::cout<<"RF Channels "<<RF_Channels<<std::endl;
 			for (int j=0; j<RF_Channels; j++)
 			{
 
@@ -505,7 +502,6 @@ void GNSSFlowgraph::init()
 		//Include GetRFChannels in the interface to avoid read config parameters here
 	    //read the number of RF channels for each front-end
 		RF_Channels=configuration_->property(sig_source_.at(0)->role() + ".RF_channels", 0);
-		std::cout<<"RF_Channels="<<RF_Channels<<std::endl;
 		if (RF_Channels!=0)
 		{
 			for (int j=0; j<RF_Channels; j++)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gnss-sdr.git



More information about the pkg-hamradio-commits mailing list