From ff8b2e40a8c8817e638a68d295860ec9e0d9b78c Mon Sep 17 00:00:00 2001 From: Idril Geer <igeer@iri.upc.edu> Date: Mon, 26 Jul 2021 12:23:30 +0200 Subject: [PATCH] private to protected in mapbase --- include/core/map/map_base.h | 2 +- src/processor/processor_motion.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/core/map/map_base.h b/include/core/map/map_base.h index caac2f94e..93663bdf7 100644 --- a/include/core/map/map_base.h +++ b/include/core/map/map_base.h @@ -28,7 +28,7 @@ class MapBase : public NodeBase, public std::enable_shared_from_this<MapBase> MapBase(); ~MapBase() override; - private: + protected: virtual LandmarkBasePtr addLandmark(LandmarkBasePtr _landmark_ptr); virtual void removeLandmark(LandmarkBasePtr _landmark_ptr); diff --git a/src/processor/processor_motion.cpp b/src/processor/processor_motion.cpp index 11dee8587..87fd864d8 100644 --- a/src/processor/processor_motion.cpp +++ b/src/processor/processor_motion.cpp @@ -550,6 +550,8 @@ VectorComposite ProcessorMotion::getState(const StateStructure& _structure) cons const auto& calib_preint = last_ptr_->getCalibrationPreint(); VectorComposite state; + //WOLF_INFO("processorMotion last timestamp: ", last_ptr_->getTimeStamp()); + //WOLF_INFO("processorMotion origin timestamp: ", origin_ptr_->getTimeStamp()); if ( hasCalibration()) { // Get current calibration -- from origin capture -- GitLab