mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 15:23:04 +00:00 
			
		
		
		
	Remove unused include
This commit is contained in:
		| @@ -37,7 +37,6 @@ | ||||
| #include <exception> | ||||
| #include <gflags/gflags.h> | ||||
| #include <glog/logging.h> | ||||
| #include <volk/volk.h> | ||||
| #include "gnss_sdr_valve.h" | ||||
| #include "configuration_interface.h" | ||||
|  | ||||
| @@ -71,8 +70,7 @@ FileSignalSource::FileSignalSource(ConfigurationInterface* configuration, | ||||
|     dump_ = configuration->property(role + ".dump", false); | ||||
|     dump_filename_ = configuration->property(role + ".dump_filename", default_dump_filename); | ||||
|     enable_throttle_control_ = configuration->property(role + ".enable_throttle_control", false); | ||||
|     std::string s = "InputFilter"; | ||||
|     //double IF = configuration->property(s + ".IF", 0.0); | ||||
|  | ||||
|     double seconds_to_skip = configuration->property(role + ".seconds_to_skip", default_seconds_to_skip ); | ||||
|     header_size = configuration->property( role + ".header_size", 0 ); | ||||
|     long samples_to_skip = 0; | ||||
| @@ -117,8 +115,7 @@ FileSignalSource::FileSignalSource(ConfigurationInterface* configuration, | ||||
|  | ||||
|             if( seconds_to_skip > 0 ) | ||||
|                 { | ||||
|                 samples_to_skip = static_cast< long >( | ||||
|                         seconds_to_skip * sampling_frequency_ ); | ||||
|                     samples_to_skip = static_cast< long >( seconds_to_skip * sampling_frequency_ ); | ||||
|  | ||||
|                     if( is_complex ) | ||||
|                         { | ||||
| @@ -138,7 +135,6 @@ FileSignalSource::FileSignalSource(ConfigurationInterface* configuration, | ||||
|                             LOG(INFO) << "Error skipping bytes!"; | ||||
|                         } | ||||
|                 } | ||||
|  | ||||
|     } | ||||
|     catch (const std::exception &e) | ||||
|     { | ||||
| @@ -171,7 +167,6 @@ FileSignalSource::FileSignalSource(ConfigurationInterface* configuration, | ||||
|                     << std::endl | ||||
|                     << GNSSSDR_INSTALL_DIR "/share/gnss-sdr/conf/" | ||||
|                     << std::endl; | ||||
|  | ||||
|                 } | ||||
|  | ||||
|             LOG(INFO) << "file_signal_source: Unable to open the samples file " | ||||
| @@ -238,8 +233,8 @@ FileSignalSource::FileSignalSource(ConfigurationInterface* configuration, | ||||
|     if (enable_throttle_control_) | ||||
|         { | ||||
|             throttle_ = gr::blocks::throttle::make(item_size_, sampling_frequency_); | ||||
|  | ||||
|         } | ||||
|  | ||||
|     DLOG(INFO) << "File source filename " << filename_; | ||||
|     DLOG(INFO) << "Samples " << samples_; | ||||
|     DLOG(INFO) << "Sampling frequency " << sampling_frequency_; | ||||
| @@ -251,14 +246,10 @@ FileSignalSource::FileSignalSource(ConfigurationInterface* configuration, | ||||
| } | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| FileSignalSource::~FileSignalSource() | ||||
| {} | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| void FileSignalSource::connect(gr::top_block_sptr top_block) | ||||
| { | ||||
|     if (samples_ > 0) | ||||
| @@ -310,10 +301,6 @@ void FileSignalSource::connect(gr::top_block_sptr top_block) | ||||
| } | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| void FileSignalSource::disconnect(gr::top_block_sptr top_block) | ||||
| { | ||||
|     if (samples_ > 0) | ||||
| @@ -365,9 +352,6 @@ void FileSignalSource::disconnect(gr::top_block_sptr top_block) | ||||
| } | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| gr::basic_block_sptr FileSignalSource::get_left_block() | ||||
| { | ||||
|     LOG(WARNING) << "Left block of a signal source should not be retrieved"; | ||||
| @@ -375,9 +359,6 @@ gr::basic_block_sptr FileSignalSource::get_left_block() | ||||
| } | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| gr::basic_block_sptr FileSignalSource::get_right_block() | ||||
| { | ||||
|     if (samples_ > 0) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez