1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-15 22:34:58 +00:00

FIX: sat_CN0_dB_hz scale factor of 0.25 (steps of 0.25 dB-hz)

This commit is contained in:
miguekf 2023-01-05 23:27:20 +01:00
parent 69b15cadc4
commit e361f0d7e1

View File

@ -1216,7 +1216,7 @@ bool Rtklib_Solver::get_PVT(const std::map<int, Gnss_Synchro> &gnss_observables_
vtl_data.sat_dts(n, 1) = dts[1 + 2 * n];
vtl_data.sat_var(n) = var[n];
vtl_data.sat_health_flag(n) = svh.at(n);
vtl_data.sat_CN0_dB_hz(n) = d_obs_data.at(n).SNR[0];
vtl_data.sat_CN0_dB_hz(n) = d_obs_data.at(n).SNR[0]*0.25;
// TODO: first version of VTL works only with ONE frequency band (band #0 is L1)
//To.Do: check it VTL uses all the information as in rtklib rescode function: v[nv] = P - (r + dtr - SPEED_OF_LIGHT_M_S * dts[i * 2] + dion + dtrp);
//corrected pr with code bias, iono and tropo. Still needs the dtr(rx clock bias) and satellite clock bias (dts)