mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-09-17 06:31:22 +00:00
Fix for triple-band receiver
This commit is contained in:
@@ -137,7 +137,7 @@ double prange(const obsd_t *obs, const nav_t *nav, const double *azel,
|
||||
double P1_C1 = 0.0;
|
||||
double P2_C2 = 0.0;
|
||||
// Intersignal corrections (m). See GPS IS-200 CNAV message
|
||||
double ISCl1 = 0.0;
|
||||
// double ISCl1 = 0.0;
|
||||
double ISCl2 = 0.0;
|
||||
double ISCl5i = 0.0;
|
||||
// double ISCl5q = 0.0;
|
||||
@@ -214,7 +214,7 @@ double prange(const obsd_t *obs, const nav_t *nav, const double *azel,
|
||||
|
||||
if (sys == SYS_GPS || sys == SYS_QZS)
|
||||
{
|
||||
ISCl1 = getiscl1(obs->sat, nav);
|
||||
// ISCl1 = getiscl1(obs->sat, nav);
|
||||
ISCl2 = getiscl2(obs->sat, nav);
|
||||
ISCl5i = getiscl5i(obs->sat, nav);
|
||||
// ISCl5q = getiscl5q(obs->sat, nav);
|
||||
@@ -285,8 +285,8 @@ double prange(const obsd_t *obs, const nav_t *nav, const double *azel,
|
||||
if (obs->code[j] == CODE_L2S) /* L1 + L2 */
|
||||
{
|
||||
P1 += P1_C1; /* C1->P1 */
|
||||
// PC = P1 + P1_P2;
|
||||
PC = (P2 + ISCl2 - gamma_ * (P1 + ISCl1)) / (1.0 - gamma_) - P1_P2;
|
||||
PC = P1 + P1_P2;
|
||||
// PC = (P2 + ISCl2 - gamma_ * (P1 + ISCl1)) / (1.0 - gamma_) - P1_P2;
|
||||
}
|
||||
else if (obs->code[j] == CODE_L5X) /* L1 + L5 */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user