From f37a58057ce5ca45d46c492dacd8105f6f9e4d70 Mon Sep 17 00:00:00 2001 From: joanvallve <jvallve@iri.upc.edu> Date: Mon, 7 Sep 2020 17:58:39 +0200 Subject: [PATCH] back to original implementation in ephemeris svh code --- src/ephemeris.c | 9 ++------- src/pntpos.c | 1 + 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/ephemeris.c b/src/ephemeris.c index 7a6605f..5c37c3e 100644 --- a/src/ephemeris.c +++ b/src/ephemeris.c @@ -578,13 +578,8 @@ static int satpos_sbas(gtime_t time, gtime_t teph, int sat, const nav_t *nav, //DEBUG /*if (satsys(sat,NULL)!=SYS_GAL && satsys(sat,NULL)!=SYS_SBS) printf("no sbas correction (i>=nav->sbssat.nsat || sbs->lcorr.iode < 0)\n");//*/ - if (ephpos(time,teph,sat,nav,-1,rs,dts,var,svh)) - *svh=-2;// JV: error code for detecting available ephemeris without sbas correction - else - { - *svh=-1; - // printf("satpos_sbas: no broadcast eph for sat %2d\n",sat); - } + //ephpos(time,teph,sat,nav,-1,rs,dts,var,svh); + //*svh=-1; return 0; } /* satellite postion and clock by broadcast ephemeris */ diff --git a/src/pntpos.c b/src/pntpos.c index ddaf284..2bb27bf 100644 --- a/src/pntpos.c +++ b/src/pntpos.c @@ -302,6 +302,7 @@ static int rescode(int iter, const obsd_t *obs, int n, const double *rs, //printf("discarding because error in tropo corr\n"); continue; } + //printf(" OK\n"); //printf(" OK!\n"); /* pseudorange residual */ -- GitLab