1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-17 15:24:56 +00:00

Improve PVT accuracy for GPS L1

This commit is contained in:
Carles Fernandez 2018-10-10 00:17:42 +02:00
parent f0d43999bb
commit 3d1318a70a
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -246,7 +246,7 @@ double prange(const obsd_t *obs, const nav_t *nav, const double *azel,
else if (obs->code[i] != CODE_NONE and obs->code[j] == CODE_NONE) else if (obs->code[i] != CODE_NONE and obs->code[j] == CODE_NONE)
{ {
P1 += P1_C1; /* C1->P1 */ P1 += P1_C1; /* C1->P1 */
PC = P1 + P1_P2; PC = P1 - P1_P2;
} }
else if (obs->code[i] == CODE_NONE and obs->code[j] != CODE_NONE) else if (obs->code[i] == CODE_NONE and obs->code[j] != CODE_NONE)
{ {