1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-04-15 07:13:17 +00:00

Add more cleaning of RTKLIB code

This commit is contained in:
Carles Fernandez 2017-04-22 18:27:11 +02:00
parent 03d5015390
commit b362afca5b
2 changed files with 1225 additions and 1346 deletions

View File

@ -182,7 +182,7 @@ int ionocorr(gtime_t time, const nav_t *nav, int sat, const double *pos,
if (ionoopt == IONOOPT_BRDC)
{
*ion = ionmodel(time, nav->ion_gps, pos, azel);
*var = SQR(*ion*ERR_BRDCI);
*var = std::pow(*ion * ERR_BRDCI, 2.0);
return 1;
}
/* sbas ionosphere model */
@ -234,7 +234,7 @@ int tropcorr(gtime_t time, const nav_t *nav, const double *pos,
if (tropopt == TROPOPT_SAAS || tropopt == TROPOPT_EST || tropopt == TROPOPT_ESTG)
{
*trp = tropmodel(time, pos, azel, REL_HUMI);
*var = SQR(ERR_SAAS / (sin(azel[1]) + 0.1));
*var = std::pow(ERR_SAAS / (sin(azel[1]) + 0.1), 2.0);
return 1;
}
/* sbas troposphere model */

File diff suppressed because it is too large Load Diff