bug fix
This commit is contained in:
parent
176a4b232e
commit
d86f132926
@ -657,7 +657,9 @@ static int estpos(const obsd_t *obs, int n, const double *rs, const double *dts,
|
||||
|
||||
trace(3,"estpos : n=%d\n",n);
|
||||
|
||||
v=mat(n+4,1); H=mat(NX,n+4); var=mat(n+4,1);
|
||||
v=mat(n+4,1);
|
||||
H=mat(NX,n+4);
|
||||
var=mat(n+4,1);
|
||||
|
||||
for (i=0;i<3;i++) x[i]=sol->rr[i];
|
||||
|
||||
@ -828,11 +830,7 @@ static int resdop(const obsd_t *obs, int n, const double *rs, const double *dts,
|
||||
sig=(err<=0.0)?1.0:err*CLIGHT/freq;
|
||||
|
||||
/* range rate residual (m/s) */
|
||||
#ifdef LG69T
|
||||
v[2*nv+1]=(-obs[i].D[0]*CLIGHT/freq-(rate-CLIGHT*dts[1+i*2]));
|
||||
#else
|
||||
v[2*nv+1]=(obs[i].D[0]*CLIGHT/freq-(rate-CLIGHT*dts[1+i*2]));
|
||||
#endif
|
||||
v[nv]=(obs[i].D[0]*CLIGHT/freq-(rate+x[3]-CLIGHT*dts[1+i*2]))/sig;
|
||||
|
||||
/* design matrix */
|
||||
for (j=0;j<4;j++) {
|
||||
|
@ -134,7 +134,7 @@ inpstr3-type =serial # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:n
|
||||
inpstr1-path =ttyACM2:460800:8:n:1:off
|
||||
# inpstr2-path =caxm002:m2ywj94n@sdk.pnt.10086.cn:8002/RTCM33_GRCEJ
|
||||
inpstr2-path =
|
||||
inpstr3-path =ttyACM0:921600:8:n:1:off
|
||||
inpstr3-path =ttyACM3:921600:8:n:1:off
|
||||
inpstr1-format =rtcm3 # (0:rtcm2,1:rtcm3,2:oem4,4:ubx,5:swift,6:hemis,7:skytraq,8:javad,9:nvs,10:binex,11:rt17,12:sbf,15:sp3,19:imu)
|
||||
inpstr2-format =rtcm3 # (0:rtcm2,1:rtcm3,2:oem4,4:ubx,5:swift,6:hemis,7:skytraq,8:javad,9:nvs,10:binex,11:rt17,12:sbf,15:sp3,19:imu)
|
||||
inpstr3-format =imu # (0:rtcm2,1:rtcm3,2:oem4,4:ubx,5:swift,6:hemis,7:skytraq,8:javad,9:nvs,10:binex,11:rt17,12:sbf,15:sp3,19:imu)
|
||||
|
Loading…
x
Reference in New Issue
Block a user