1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-23 13:33:15 +00:00

Simplifiying the RTKLIB error log and avoid msg repetitions

This commit is contained in:
Javier Arribas 2019-08-16 18:24:01 +02:00
parent 5659616dc0
commit e6af1a7e44
2 changed files with 6 additions and 6 deletions

View File

@ -1940,10 +1940,10 @@ int rtklib_pvt_gs::work(int noutput_items, gr_vector_const_void_star& input_item
}
}
// debug code
// else
// {
// LOG(INFO) << "Internal PVT solver error";
// }
// else
// {
// DLOG(INFO) << "Internal PVT solver error";
// }
// compute on the fly PVT solution
if (flag_compute_pvt_output == true)

View File

@ -925,8 +925,8 @@ bool Rtklib_Solver::get_PVT(const std::map<int, Gnss_Synchro> &gnss_observables_
if (result == 0)
{
LOG(INFO) << "RTKLIB rtkpos error";
DLOG(INFO) << "RTKLIB rtkpos error message: " << rtk_.errbuf;
LOG(INFO) << "RTKLIB rtkpos error: " << rtk_.errbuf;
rtk_.neb = 0; //clear error buffer to avoid repeating the error message
this->set_time_offset_s(0.0); // reset rx time estimation
this->set_num_valid_observations(0);
}