diff --git a/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_gs.cc b/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_gs.cc index 0a0cefbd3..566a478cd 100644 --- a/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_gs.cc +++ b/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_gs.cc @@ -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) diff --git a/src/algorithms/PVT/libs/rtklib_solver.cc b/src/algorithms/PVT/libs/rtklib_solver.cc index 345d0ab58..a58998a7c 100644 --- a/src/algorithms/PVT/libs/rtklib_solver.cc +++ b/src/algorithms/PVT/libs/rtklib_solver.cc @@ -925,8 +925,8 @@ bool Rtklib_Solver::get_PVT(const std::map &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); }