mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-28 18:04:51 +00:00
Simplifiying the RTKLIB error log and avoid msg repetitions
This commit is contained in:
parent
5659616dc0
commit
e6af1a7e44
@ -1940,10 +1940,10 @@ int rtklib_pvt_gs::work(int noutput_items, gr_vector_const_void_star& input_item
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// debug code
|
// debug code
|
||||||
// else
|
// else
|
||||||
// {
|
// {
|
||||||
// LOG(INFO) << "Internal PVT solver error";
|
// DLOG(INFO) << "Internal PVT solver error";
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// compute on the fly PVT solution
|
// compute on the fly PVT solution
|
||||||
if (flag_compute_pvt_output == true)
|
if (flag_compute_pvt_output == true)
|
||||||
|
@ -925,8 +925,8 @@ bool Rtklib_Solver::get_PVT(const std::map<int, Gnss_Synchro> &gnss_observables_
|
|||||||
|
|
||||||
if (result == 0)
|
if (result == 0)
|
||||||
{
|
{
|
||||||
LOG(INFO) << "RTKLIB rtkpos error";
|
LOG(INFO) << "RTKLIB rtkpos error: " << rtk_.errbuf;
|
||||||
DLOG(INFO) << "RTKLIB rtkpos error message: " << 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_time_offset_s(0.0); // reset rx time estimation
|
||||||
this->set_num_valid_observations(0);
|
this->set_num_valid_observations(0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user