mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-04-07 11:17:01 +00:00
Remove redundant blank lines at the end of a code block
This commit is contained in:
parent
03541bd88b
commit
e4c3ee7527
@ -68,7 +68,6 @@ extern "C"
|
||||
{
|
||||
clFFT_Forward = -1,
|
||||
clFFT_Inverse = 1
|
||||
|
||||
} clFFT_Direction;
|
||||
|
||||
// XForm dimension
|
||||
@ -77,7 +76,6 @@ extern "C"
|
||||
clFFT_1D = 0,
|
||||
clFFT_2D = 1,
|
||||
clFFT_3D = 3
|
||||
|
||||
} clFFT_Dimension;
|
||||
|
||||
// XForm Data type
|
||||
|
@ -236,8 +236,8 @@ double prange(const obsd_t *obs, const nav_t *nav, const double *azel,
|
||||
|
||||
//CHECK IF IT IS STILL NEEDED
|
||||
if (opt->ionoopt == IONOOPT_IFLC)
|
||||
{ /* dual-frequency */
|
||||
|
||||
{
|
||||
/* dual-frequency */
|
||||
if (P1 == 0.0 || P2 == 0.0)
|
||||
{
|
||||
return 0.0;
|
||||
|
@ -1689,7 +1689,6 @@ int res_ppp(int iter __attribute__((unused)), const obsd_t *obs, int n, const do
|
||||
|
||||
for (j = 0; j < 2; j++)
|
||||
{ /* for phase and code */
|
||||
|
||||
if (meas[j] == 0.0)
|
||||
{
|
||||
continue;
|
||||
|
@ -1657,7 +1657,6 @@ int ddres(rtk_t *rtk, const nav_t *nav, double dt, const double *x,
|
||||
}
|
||||
for (m = 0; m < 4; m++)
|
||||
{ /* m=0:gps/qzs/sbs, 1:glo, 2:gal, 3:bds */
|
||||
|
||||
for (f = opt->mode > PMODE_DGPS ? 0 : nf; f < nf * 2; f++)
|
||||
{
|
||||
/* search reference satellite with highest elevation */
|
||||
@ -2863,7 +2862,6 @@ int rtkpos(rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav)
|
||||
}
|
||||
if (opt->mode == PMODE_MOVEB)
|
||||
{ /* moving baseline */
|
||||
|
||||
/* estimate position/velocity of base station */
|
||||
if (!pntpos(obs + nu, nr, nav, &rtk->opt, &solb, nullptr, nullptr, msg))
|
||||
{
|
||||
|
@ -494,7 +494,6 @@ void decodefile(rtksvr_t *svr, int index)
|
||||
|
||||
if (svr->format[index] == STRFMT_SP3)
|
||||
{ /* precise ephemeris */
|
||||
|
||||
/* read sp3 precise ephemeris */
|
||||
readsp3(file, &nav, 0);
|
||||
if (nav.ne <= 0)
|
||||
@ -517,8 +516,8 @@ void decodefile(rtksvr_t *svr, int index)
|
||||
rtksvrunlock(svr);
|
||||
}
|
||||
else if (svr->format[index] == STRFMT_RNXCLK)
|
||||
{ /* precise clock */
|
||||
|
||||
{
|
||||
/* precise clock */
|
||||
/* read rinex clock */ // Disabled!!
|
||||
if (true /*readrnxc(file, &nav)<=0 */)
|
||||
{
|
||||
|
@ -955,7 +955,6 @@ int gentcp(tcp_t *tcp, int type, char *msg)
|
||||
|
||||
if (type == 0)
|
||||
{ /* server socket */
|
||||
|
||||
#ifdef SVR_REUSEADDR
|
||||
/* multiple-use of server socket */
|
||||
setsockopt(tcp->sock, SOL_SOCKET, SO_REUSEADDR, (const char *)&opt,
|
||||
|
@ -355,7 +355,6 @@ void tidedisp(gtime_t tutc, const double *rr, int opt, const erp_t *erp,
|
||||
|
||||
if (opt & 1)
|
||||
{ /* solid earth tides */
|
||||
|
||||
/* sun and moon position in ecef */
|
||||
sunmoonpos(tutc, erpv, rs, rm, &gmst);
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
/* From gnuradio/gnuradio-runtime/lib/math/sine_table.h
|
||||
* max_error = 2.353084136763606e-06 */
|
||||
static const float sine_table_10bits[1 << 10][2] = {
|
||||
|
||||
{2.925817799165007e-09, 7.219194364267018e-09},
|
||||
{2.925707643778599e-09, 2.526699001579799e-07},
|
||||
{2.925487337153070e-09, 1.191140162167675e-06},
|
||||
|
@ -25,7 +25,6 @@ extern "C"
|
||||
GANSSAlmanacElement_PR_NOTHING, /* No components present */
|
||||
GANSSAlmanacElement_PR_keplerianAlmanacSet,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} GANSSAlmanacElement_PR;
|
||||
|
||||
/* GANSSAlmanacElement */
|
||||
|
@ -25,7 +25,6 @@ extern "C"
|
||||
GANSSClockModel_PR_NOTHING, /* No components present */
|
||||
GANSSClockModel_PR_standardClockModelList,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} GANSSClockModel_PR;
|
||||
|
||||
/* GANSSClockModel */
|
||||
|
@ -25,7 +25,6 @@ extern "C"
|
||||
GANSSOrbitModel_PR_NOTHING, /* No components present */
|
||||
GANSSOrbitModel_PR_keplerianSet,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} GANSSOrbitModel_PR;
|
||||
|
||||
/* GANSSOrbitModel */
|
||||
|
@ -33,7 +33,6 @@ extern "C"
|
||||
RRLP_Component_PR_assistanceDataAck,
|
||||
RRLP_Component_PR_protocolError,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} RRLP_Component_PR;
|
||||
|
||||
/* RRLP-Component */
|
||||
|
@ -28,7 +28,6 @@ extern "C"
|
||||
SatStatus_PR_oldSatelliteAndModel,
|
||||
SatStatus_PR_newNaviModelUC,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} SatStatus_PR;
|
||||
|
||||
/* SatStatus */
|
||||
|
@ -29,7 +29,6 @@ extern "C"
|
||||
CellInfo_PR_wcdmaCell,
|
||||
CellInfo_PR_cdmaCell,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} CellInfo_PR;
|
||||
|
||||
/* CellInfo */
|
||||
|
@ -28,7 +28,6 @@ extern "C"
|
||||
fmodeSpecificInfo_PR_fdd,
|
||||
fmodeSpecificInfo_PR_tdd,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} fmodeSpecificInfo_PR;
|
||||
|
||||
/* FrequencyInfo */
|
||||
|
@ -27,7 +27,6 @@ extern "C"
|
||||
PosPayLoad_PR_rrcPayload,
|
||||
PosPayLoad_PR_rrlpPayload,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} PosPayLoad_PR;
|
||||
|
||||
/* PosPayLoad */
|
||||
|
@ -26,7 +26,6 @@ extern "C"
|
||||
SETAuthKey_PR_shortKey,
|
||||
SETAuthKey_PR_longKey,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} SETAuthKey_PR;
|
||||
|
||||
/* SETAuthKey */
|
||||
|
@ -33,7 +33,6 @@ extern "C"
|
||||
SETId_PR_nai,
|
||||
SETId_PR_iPAddress,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} SETId_PR;
|
||||
|
||||
/* SETId */
|
||||
|
@ -27,7 +27,6 @@ extern "C"
|
||||
SLPAddress_PR_iPAddress,
|
||||
SLPAddress_PR_fQDN,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} SLPAddress_PR;
|
||||
|
||||
/* SLPAddress */
|
||||
|
@ -38,7 +38,6 @@ extern "C"
|
||||
UlpMessage_PR_msDUMMY2,
|
||||
UlpMessage_PR_msDUMMY3,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} UlpMessage_PR;
|
||||
|
||||
/* UlpMessage */
|
||||
|
@ -31,7 +31,6 @@ extern "C"
|
||||
Velocity_PR_horveluncert,
|
||||
Velocity_PR_horandveruncert,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} Velocity_PR;
|
||||
|
||||
/* Velocity */
|
||||
|
@ -191,7 +191,6 @@ typedef struct supl_rrlp_ctx_s
|
||||
int cnt_acq;
|
||||
int acq_time;
|
||||
struct supl_acquis_s acq[MAX_EPHEMERIS];
|
||||
|
||||
} supl_assist_t;
|
||||
|
||||
typedef struct supl_param_s
|
||||
@ -232,7 +231,6 @@ typedef struct supl_ctx_s
|
||||
void *buf;
|
||||
size_t size;
|
||||
} slp_session_id;
|
||||
|
||||
} supl_ctx_t;
|
||||
|
||||
int supl_ctx_new(supl_ctx_t *ctx);
|
||||
|
@ -1069,14 +1069,12 @@ TEST_F(TrackingPullInTest, ValidationOfResults)
|
||||
}
|
||||
}
|
||||
} //end plot
|
||||
|
||||
} //end acquisition Delay errors loop
|
||||
} //end acquisition Doppler errors loop
|
||||
} //end acquisition Delay errors loop
|
||||
} //end acquisition Doppler errors loop
|
||||
pull_in_results_v_v.push_back(pull_in_results_v);
|
||||
|
||||
|
||||
} //end CN0 LOOP
|
||||
//build the mesh grid
|
||||
|
||||
//build the mesh grid
|
||||
std::vector<double> doppler_error_mesh;
|
||||
std::vector<double> code_delay_error_mesh;
|
||||
for (unsigned int current_acq_doppler_error_idx = 0; current_acq_doppler_error_idx < acq_doppler_error_hz_values.size(); current_acq_doppler_error_idx++)
|
||||
|
@ -1244,19 +1244,14 @@ TEST_F(TrackingPullInTestFpga, ValidationOfResults)
|
||||
std::cout << ge.what() << std::endl;
|
||||
}
|
||||
}
|
||||
} //end plot
|
||||
|
||||
} //end acquisition Delay errors loop
|
||||
|
||||
} //end plot
|
||||
} //end acquisition Delay errors loop
|
||||
usleep(100000); // give time to the HW to consume all the remaining samples
|
||||
|
||||
} //end acquisition Doppler errors loop
|
||||
|
||||
} //end acquisition Doppler errors loop
|
||||
pull_in_results_v_v.push_back(pull_in_results_v);
|
||||
|
||||
} //end CN0 LOOP
|
||||
//build the mesh grid
|
||||
|
||||
//build the mesh grid
|
||||
std::vector<double> doppler_error_mesh;
|
||||
std::vector<double> code_delay_error_mesh;
|
||||
for (unsigned int current_acq_doppler_error_idx = 0; current_acq_doppler_error_idx < acq_doppler_error_hz_values.size(); current_acq_doppler_error_idx++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user