mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-07-04 11:02:57 +00:00
Fix cpplint format defects
This commit is contained in:
parent
91f826b5ca
commit
03b14a0212
@ -18,6 +18,7 @@
|
|||||||
#include "gnss_sdr_string_literals.h"
|
#include "gnss_sdr_string_literals.h"
|
||||||
#include "gnss_sdr_timestamp.h"
|
#include "gnss_sdr_timestamp.h"
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
using namespace std::string_literals;
|
using namespace std::string_literals;
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include "configuration_interface.h"
|
#include "configuration_interface.h"
|
||||||
#include "file_source_base.h"
|
#include "file_source_base.h"
|
||||||
#include "gnss_sdr_timestamp.h"
|
#include "gnss_sdr_timestamp.h"
|
||||||
|
#include <string>
|
||||||
|
|
||||||
/** \addtogroup Signal_Source
|
/** \addtogroup Signal_Source
|
||||||
* \{ */
|
* \{ */
|
||||||
|
@ -42,11 +42,10 @@ LimesdrSignalSource::LimesdrSignalSource(const ConfigurationInterface* configura
|
|||||||
|
|
||||||
// Driver parameters
|
// Driver parameters
|
||||||
channel_ = configuration->property(role + ".channel", 0);
|
channel_ = configuration->property(role + ".channel", 0);
|
||||||
//AGC_enabled_ = configuration->property(role + ".AGC_enabled", true);
|
|
||||||
freq_ = configuration->property(role + ".freq", 1575420000);
|
freq_ = configuration->property(role + ".freq", 1575420000);
|
||||||
gain_ = configuration->property(role + ".gain", 40.0);
|
gain_ = configuration->property(role + ".gain", 40.0);
|
||||||
sample_rate_ = configuration->property(role + ".sampling_frequency", 2.0e6);
|
sample_rate_ = configuration->property(role + ".sampling_frequency", 2.0e6);
|
||||||
//todo: check aif bw is within limits
|
// todo: check if bw is within limits
|
||||||
analog_bw_hz_ = configuration->property(role + ".analog_bw", sample_rate_ / 2); // LPF analog filters in I,Q branches
|
analog_bw_hz_ = configuration->property(role + ".analog_bw", sample_rate_ / 2); // LPF analog filters in I,Q branches
|
||||||
digital_bw_hz_ = configuration->property(role + ".digital_bw", 0); // disable by default
|
digital_bw_hz_ = configuration->property(role + ".digital_bw", 0); // disable by default
|
||||||
item_type_ = configuration->property(role + ".item_type", default_item_type);
|
item_type_ = configuration->property(role + ".item_type", default_item_type);
|
||||||
|
@ -87,7 +87,6 @@ private:
|
|||||||
int limechannel_mode_;
|
int limechannel_mode_;
|
||||||
|
|
||||||
bool PPS_mode_;
|
bool PPS_mode_;
|
||||||
//bool AGC_enabled_;
|
|
||||||
bool dump_;
|
bool dump_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include <algorithm> // for min
|
#include <algorithm> // for min
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cstring> // for memcpy
|
#include <cstring> // for memcpy
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
Gnss_Sdr_Timestamp::Gnss_Sdr_Timestamp(size_t sizeof_stream_item,
|
Gnss_Sdr_Timestamp::Gnss_Sdr_Timestamp(size_t sizeof_stream_item,
|
||||||
std::string timestamp_file, double clock_offset_ms) : gr::sync_block("Timestamp",
|
std::string timestamp_file, double clock_offset_ms) : gr::sync_block("Timestamp",
|
||||||
|
@ -22,7 +22,12 @@
|
|||||||
|
|
||||||
#include "cpu_multicorrelator_real_codes.h"
|
#include "cpu_multicorrelator_real_codes.h"
|
||||||
#include "exponential_smoother.h"
|
#include "exponential_smoother.h"
|
||||||
|
#include "gnss_block_interface.h"
|
||||||
|
#include "gnss_time.h" //for timetags produced by File_Timestamp_Signal_Source
|
||||||
#include "kf_conf.h"
|
#include "kf_conf.h"
|
||||||
|
#include "tracking_FLL_PLL_filter.h" // for PLL/FLL filter
|
||||||
|
#include "tracking_loop_filter.h" // for DLL filter
|
||||||
|
#include <armadillo>
|
||||||
#include <boost/circular_buffer.hpp>
|
#include <boost/circular_buffer.hpp>
|
||||||
#include <gnuradio/block.h> // for block
|
#include <gnuradio/block.h> // for block
|
||||||
#include <gnuradio/gr_complex.h> // for gr_complex
|
#include <gnuradio/gr_complex.h> // for gr_complex
|
||||||
@ -35,13 +40,6 @@
|
|||||||
#include <string> // for string
|
#include <string> // for string
|
||||||
#include <typeinfo> // for typeid
|
#include <typeinfo> // for typeid
|
||||||
#include <utility> // for pair
|
#include <utility> // for pair
|
||||||
#if GNURADIO_USES_STD_POINTERS
|
|
||||||
#include <memory>
|
|
||||||
#else
|
|
||||||
#include <boost/shared_ptr.hpp>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <armadillo>
|
|
||||||
|
|
||||||
class Gnss_Synchro;
|
class Gnss_Synchro;
|
||||||
class kf_vtl_tracking;
|
class kf_vtl_tracking;
|
||||||
@ -166,7 +164,6 @@ private:
|
|||||||
double d_carrier_lock_threshold;
|
double d_carrier_lock_threshold;
|
||||||
|
|
||||||
// carrier NCO
|
// carrier NCO
|
||||||
|
|
||||||
double d_carrier_phase_step_rad;
|
double d_carrier_phase_step_rad;
|
||||||
double d_carrier_phase_rate_step_rad;
|
double d_carrier_phase_rate_step_rad;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user