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

identation of debugging

parent edbded11
No related branches found
No related tags found
No related merge requests found
......@@ -286,32 +286,32 @@ static int rescode(int iter, const obsd_t *obs, int n, const double *rs,
// DEBUGGING ================
/*{
printf("sat=%2d:\n",obs[i].sat);
printf("\tsys=%2d:\n",sys);
printf("sat=%2d:\n",obs[i].sat);
printf("\tsys=%2d:\n",sys);
double prange_corrected = P-(-CLIGHT*dts[i*2]+dion+dtrp);
double clock_bias_constellation = 0;
if (sys==SYS_GLO)
clock_bias_constellation = x[4];
else if (sys==SYS_GAL)
clock_bias_constellation = x[5];
else if (sys==SYS_CMP)
clock_bias_constellation = x[6];
double prange_corrected = P-(-CLIGHT*dts[i*2]+dion+dtrp);
double clock_bias_constellation = 0;
if (sys==SYS_GLO)
clock_bias_constellation = x[4];
else if (sys==SYS_GAL)
clock_bias_constellation = x[5];
else if (sys==SYS_CMP)
clock_bias_constellation = x[6];
printf("\tsat pos=%5.4f %5.4f %5.4f\n",*(rs+i*6),*(rs+i*6+1),*(rs+i*6+2));
printf("\tx=%5.4f %5.4f %5.4f\n",x[0],x[1],x[2]);
printf("\tprange=%5.4f\n",P);
printf("\tsat_clock_corr=%5.4f\n",-CLIGHT*dts[i*2]);
printf("\tiono_corr=%5.4f\n",dion);
printf("\ttropo_corr=%5.4f\n",dtrp);
printf("\tprange_corrected=%5.4f\n",prange_corrected);
printf("\tclock_bias=%5.4f\n",dtr);
printf("\tclock_bias_constellation=%5.4f\n",clock_bias_constellation);
printf("\tnorm=%5.4f\n",r);
printf("\texp_wo=%5.4f\n",r+dtr);
printf("\texp=%5.4f\n",r+dtr+clock_bias_constellation);
printf("\t(exp-prange_corrected)=%5.4f\n",r+dtr+clock_bias_constellation-prange_corrected);
printf("\terror=%5.4f\n\n",v[nv]);
printf("\tsat pos=%5.4f %5.4f %5.4f\n",*(rs+i*6),*(rs+i*6+1),*(rs+i*6+2));
printf("\tx=%5.4f %5.4f %5.4f\n",x[0],x[1],x[2]);
printf("\tprange=%5.4f\n",P);
printf("\tsat_clock_corr=%5.4f\n",-CLIGHT*dts[i*2]);
printf("\tiono_corr=%5.4f\n",dion);
printf("\ttropo_corr=%5.4f\n",dtrp);
printf("\tprange_corrected=%5.4f\n",prange_corrected);
printf("\tclock_bias=%5.4f\n",dtr);
printf("\tclock_bias_constellation=%5.4f\n",clock_bias_constellation);
printf("\tnorm=%5.4f\n",r);
printf("\texp_wo=%5.4f\n",r+dtr);
printf("\texp=%5.4f\n",r+dtr+clock_bias_constellation);
printf("\t(exp-prange_corrected)=%5.4f\n",r+dtr+clock_bias_constellation-prange_corrected);
printf("\terror=%5.4f\n\n",v[nv]);
}//*/
vsat[i]=1; resp[i]=v[nv]; (*ns)++;
......
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