Skip to content
Snippets Groups Projects
Commit 3ac97c97 authored by Tim Everett's avatar Tim Everett
Browse files

- Fix bug in handling of half cycle ambiguity flag in RTCM3 MSM messages

parent b254e7af
No related branches found
No related tags found
No related merge requests found
...@@ -1890,7 +1890,7 @@ static void save_msm_obs(rtcm_t *rtcm, int sys, msm_h_t *h, const double *r, ...@@ -1890,7 +1890,7 @@ static void save_msm_obs(rtcm_t *rtcm, int sys, msm_h_t *h, const double *r,
rtcm->obs.data[index].D[ind[k]]=(float)(-(rr[i]+rrf[j])/wl); rtcm->obs.data[index].D[ind[k]]=(float)(-(rr[i]+rrf[j])/wl);
} }
rtcm->obs.data[index].LLI[ind[k]]= rtcm->obs.data[index].LLI[ind[k]]=
lossoflock(rtcm,sat,ind[k],lock[j])+(half[j]?3:0); lossoflock(rtcm,sat,ind[k],lock[j])+(half[j]?2:0);
rtcm->obs.data[index].SNR [ind[k]]=(unsigned char)(cnr[j]*4.0); rtcm->obs.data[index].SNR [ind[k]]=(unsigned char)(cnr[j]*4.0);
rtcm->obs.data[index].code[ind[k]]=code[k]; rtcm->obs.data[index].code[ind[k]]=code[k];
} }
......
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