Skip to content
Snippets Groups Projects
Commit f37a5805 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

back to original implementation in ephemeris svh code

parent db6ecf4e
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment