From cdfe4c43d93f78420f926eebaf64dec716eb7d21 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 31 Jul 2019 10:21:32 +0200 Subject: [PATCH] Revert "Remove unused public member" This reverts commit 1f476957e38375fe2cb421a62481d7315966d9ad. --- src/algorithms/PVT/libs/rtklib_solver.cc | 1 + src/algorithms/PVT/libs/rtklib_solver.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/algorithms/PVT/libs/rtklib_solver.cc b/src/algorithms/PVT/libs/rtklib_solver.cc index f546ce63e..45de55b96 100644 --- a/src/algorithms/PVT/libs/rtklib_solver.cc +++ b/src/algorithms/PVT/libs/rtklib_solver.cc @@ -94,6 +94,7 @@ Rtklib_Solver::Rtklib_Solver(int nchannels, std::string dump_filename, bool flag d_dump_filename = std::move(dump_filename); d_flag_dump_enabled = flag_dump_to_file; d_flag_dump_mat_enabled = flag_dump_to_mat; + count_valid_position = 0; this->set_averaging_flag(false); rtk_ = rtk; diff --git a/src/algorithms/PVT/libs/rtklib_solver.h b/src/algorithms/PVT/libs/rtklib_solver.h index a393c1f63..1fa4ba8dd 100644 --- a/src/algorithms/PVT/libs/rtklib_solver.h +++ b/src/algorithms/PVT/libs/rtklib_solver.h @@ -126,6 +126,8 @@ public: Beidou_Dnav_Iono beidou_dnav_iono; std::map beidou_dnav_almanac_map; + int count_valid_position; + private: rtk_t rtk_{}; std::string d_dump_filename;