mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-28 18:04:51 +00:00
Apply formatting
This commit is contained in:
parent
9cb1beffa4
commit
d652903cb6
@ -53,6 +53,7 @@ static inline float32x4_t vsqrtq_f32(float32x4_t q_x)
|
|||||||
return vmulq_f32(q_x, q_step_2);
|
return vmulq_f32(q_x, q_step_2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Magnitude squared for float32x4x2_t */
|
/* Magnitude squared for float32x4x2_t */
|
||||||
static inline float32x4_t _vmagnitudesquaredq_f32(float32x4x2_t cmplxValue)
|
static inline float32x4_t _vmagnitudesquaredq_f32(float32x4x2_t cmplxValue)
|
||||||
{
|
{
|
||||||
@ -63,6 +64,7 @@ static inline float32x4_t _vmagnitudesquaredq_f32(float32x4x2_t cmplxValue)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Inverse square root for float32x4_t */
|
/* Inverse square root for float32x4_t */
|
||||||
static inline float32x4_t _vinvsqrtq_f32(float32x4_t x)
|
static inline float32x4_t _vinvsqrtq_f32(float32x4_t x)
|
||||||
{
|
{
|
||||||
@ -73,6 +75,7 @@ static inline float32x4_t _vinvsqrtq_f32(float32x4_t x)
|
|||||||
return sqrt_reciprocal;
|
return sqrt_reciprocal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Complex multiplication for float32x4x2_t */
|
/* Complex multiplication for float32x4x2_t */
|
||||||
static inline float32x4x2_t _vmultiply_complexq_f32(float32x4x2_t a_val, float32x4x2_t b_val)
|
static inline float32x4x2_t _vmultiply_complexq_f32(float32x4x2_t a_val, float32x4x2_t b_val)
|
||||||
{
|
{
|
||||||
|
@ -177,7 +177,6 @@ GalileoE1DllPllVemlTracking::GalileoE1DllPllVemlTracking(
|
|||||||
trk_param.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param.carrier_lock_test_smoother_samples);
|
trk_param.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param.carrier_lock_test_smoother_samples);
|
||||||
trk_param.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param.carrier_lock_test_smoother_alpha);
|
trk_param.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param.carrier_lock_test_smoother_alpha);
|
||||||
|
|
||||||
|
|
||||||
// ################# MAKE TRACKING GNURadio object ###################
|
// ################# MAKE TRACKING GNURadio object ###################
|
||||||
if (item_type == "gr_complex")
|
if (item_type == "gr_complex")
|
||||||
{
|
{
|
||||||
|
@ -261,7 +261,6 @@ GalileoE1DllPllVemlTrackingFpga::GalileoE1DllPllVemlTrackingFpga(
|
|||||||
trk_param_fpga.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param_fpga.carrier_lock_test_smoother_samples);
|
trk_param_fpga.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param_fpga.carrier_lock_test_smoother_samples);
|
||||||
trk_param_fpga.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param_fpga.carrier_lock_test_smoother_alpha);
|
trk_param_fpga.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param_fpga.carrier_lock_test_smoother_alpha);
|
||||||
|
|
||||||
|
|
||||||
//################# MAKE TRACKING GNURadio object ###################
|
//################# MAKE TRACKING GNURadio object ###################
|
||||||
tracking_fpga_sc = dll_pll_veml_make_tracking_fpga(trk_param_fpga);
|
tracking_fpga_sc = dll_pll_veml_make_tracking_fpga(trk_param_fpga);
|
||||||
channel_ = 0;
|
channel_ = 0;
|
||||||
|
@ -172,7 +172,6 @@ GalileoE5aDllPllTracking::GalileoE5aDllPllTracking(
|
|||||||
trk_param.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param.carrier_lock_test_smoother_samples);
|
trk_param.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param.carrier_lock_test_smoother_samples);
|
||||||
trk_param.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param.carrier_lock_test_smoother_alpha);
|
trk_param.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param.carrier_lock_test_smoother_alpha);
|
||||||
|
|
||||||
|
|
||||||
// ################# MAKE TRACKING GNURadio object ###################
|
// ################# MAKE TRACKING GNURadio object ###################
|
||||||
if (item_type == "gr_complex")
|
if (item_type == "gr_complex")
|
||||||
{
|
{
|
||||||
|
@ -268,7 +268,6 @@ GalileoE5aDllPllTrackingFpga::GalileoE5aDllPllTrackingFpga(
|
|||||||
trk_param_fpga.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param_fpga.carrier_lock_test_smoother_samples);
|
trk_param_fpga.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param_fpga.carrier_lock_test_smoother_samples);
|
||||||
trk_param_fpga.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param_fpga.carrier_lock_test_smoother_alpha);
|
trk_param_fpga.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param_fpga.carrier_lock_test_smoother_alpha);
|
||||||
|
|
||||||
|
|
||||||
// ################# MAKE TRACKING GNURadio object ###################
|
// ################# MAKE TRACKING GNURadio object ###################
|
||||||
tracking_fpga_sc = dll_pll_veml_make_tracking_fpga(trk_param_fpga);
|
tracking_fpga_sc = dll_pll_veml_make_tracking_fpga(trk_param_fpga);
|
||||||
channel_ = 0;
|
channel_ = 0;
|
||||||
|
@ -222,7 +222,6 @@ GpsL1CaDllPllTrackingFpga::GpsL1CaDllPllTrackingFpga(
|
|||||||
trk_param_fpga.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param_fpga.carrier_lock_test_smoother_samples);
|
trk_param_fpga.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param_fpga.carrier_lock_test_smoother_samples);
|
||||||
trk_param_fpga.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param_fpga.carrier_lock_test_smoother_alpha);
|
trk_param_fpga.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param_fpga.carrier_lock_test_smoother_alpha);
|
||||||
|
|
||||||
|
|
||||||
// ################# MAKE TRACKING GNURadio object ###################
|
// ################# MAKE TRACKING GNURadio object ###################
|
||||||
tracking_fpga_sc = dll_pll_veml_make_tracking_fpga(trk_param_fpga);
|
tracking_fpga_sc = dll_pll_veml_make_tracking_fpga(trk_param_fpga);
|
||||||
channel_ = 0;
|
channel_ = 0;
|
||||||
|
@ -154,7 +154,6 @@ GpsL2MDllPllTracking::GpsL2MDllPllTracking(
|
|||||||
trk_param.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param.carrier_lock_test_smoother_samples);
|
trk_param.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param.carrier_lock_test_smoother_samples);
|
||||||
trk_param.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param.carrier_lock_test_smoother_alpha);
|
trk_param.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param.carrier_lock_test_smoother_alpha);
|
||||||
|
|
||||||
|
|
||||||
// ################# MAKE TRACKING GNURadio object ###################
|
// ################# MAKE TRACKING GNURadio object ###################
|
||||||
if (item_type == "gr_complex")
|
if (item_type == "gr_complex")
|
||||||
{
|
{
|
||||||
|
@ -102,6 +102,10 @@ GpsL2MDllPllTrackingFpga::GpsL2MDllPllTrackingFpga(
|
|||||||
trk_param_fpga.max_code_lock_fail = configuration->property(role + ".max_lock_fail", trk_param_fpga.max_code_lock_fail);
|
trk_param_fpga.max_code_lock_fail = configuration->property(role + ".max_lock_fail", trk_param_fpga.max_code_lock_fail);
|
||||||
trk_param_fpga.max_carrier_lock_fail = configuration->property(role + ".max_carrier_lock_fail", trk_param_fpga.max_carrier_lock_fail);
|
trk_param_fpga.max_carrier_lock_fail = configuration->property(role + ".max_carrier_lock_fail", trk_param_fpga.max_carrier_lock_fail);
|
||||||
trk_param_fpga.carrier_lock_th = configuration->property(role + ".carrier_lock_th", trk_param_fpga.carrier_lock_th);
|
trk_param_fpga.carrier_lock_th = configuration->property(role + ".carrier_lock_th", trk_param_fpga.carrier_lock_th);
|
||||||
|
trk_param_fpga.cn0_smoother_samples = configuration->property(role + ".cn0_smoother_samples", trk_param_fpga.cn0_smoother_samples);
|
||||||
|
trk_param_fpga.cn0_smoother_alpha = configuration->property(role + ".cn0_smoother_alpha", trk_param_fpga.cn0_smoother_alpha);
|
||||||
|
trk_param_fpga.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param_fpga.carrier_lock_test_smoother_samples);
|
||||||
|
trk_param_fpga.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param_fpga.carrier_lock_test_smoother_alpha);
|
||||||
|
|
||||||
// int32_t max_lock_fail = configuration->property(role + ".max_lock_fail", 50);
|
// int32_t max_lock_fail = configuration->property(role + ".max_lock_fail", 50);
|
||||||
// if (FLAGS_max_lock_fail != 50)
|
// if (FLAGS_max_lock_fail != 50)
|
||||||
|
@ -40,7 +40,6 @@ class Dll_Pll_Conf
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/* DLL/PLL tracking configuration */
|
/* DLL/PLL tracking configuration */
|
||||||
|
|
||||||
int fll_filter_order;
|
int fll_filter_order;
|
||||||
bool enable_fll_pull_in;
|
bool enable_fll_pull_in;
|
||||||
bool enable_fll_steady_state;
|
bool enable_fll_steady_state;
|
||||||
@ -48,7 +47,6 @@ public:
|
|||||||
unsigned int bit_synchronization_time_limit_s;
|
unsigned int bit_synchronization_time_limit_s;
|
||||||
int pll_filter_order;
|
int pll_filter_order;
|
||||||
int dll_filter_order;
|
int dll_filter_order;
|
||||||
|
|
||||||
double fs_in;
|
double fs_in;
|
||||||
uint32_t vector_length;
|
uint32_t vector_length;
|
||||||
bool dump;
|
bool dump;
|
||||||
@ -72,7 +70,6 @@ public:
|
|||||||
float cn0_smoother_alpha;
|
float cn0_smoother_alpha;
|
||||||
int32_t carrier_lock_test_smoother_samples;
|
int32_t carrier_lock_test_smoother_samples;
|
||||||
float carrier_lock_test_smoother_alpha;
|
float carrier_lock_test_smoother_alpha;
|
||||||
//int32_t carrier_lock_det_mav_samples;
|
|
||||||
int32_t cn0_min;
|
int32_t cn0_min;
|
||||||
int32_t max_code_lock_fail;
|
int32_t max_code_lock_fail;
|
||||||
int32_t max_carrier_lock_fail;
|
int32_t max_carrier_lock_fail;
|
||||||
|
Loading…
Reference in New Issue
Block a user