1 #ifndef SLAM_TECHNIQUE_H 2 #define SLAM_TECHNIQUE_H 4 #include <tuw_geometry/tuw_geometry.h> 5 #include <opencv2/core/core.hpp> 6 #include <boost/date_time/posix_time/ptime.hpp> 68 virtual void setConfig (
const void *config ) = 0;
79 virtual void cycle ( std::vector<Pose2D> &yt, cv::Mat_<double> &C_Yt,
const Command &ut,
const MeasurementConstPtr &zt ) = 0;
86 virtual void init ( ) = 0;
105 #endif // SLAM_TECHNIQUE_H const boost::posix_time::ptime & time_last_update() const
const std::string getTypeName() const
virtual void cycle(std::vector< Pose2D > &yt, cv::Mat_< double > &C_Yt, const Command &ut, const MeasurementConstPtr &zt)=0
boost::posix_time::time_duration duration_last_update_
time of the last processed measurment
virtual void setConfig(const void *config)=0
std::shared_ptr< SLAMTechnique > SLAMTechniquePtr
bool updateTimestamp(const boost::posix_time::ptime &t)
static std::map< Type, std::string > TypeName_
std::shared_ptr< SLAMTechnique const > SLAMTechniqueConstPtr
boost::posix_time::ptime timestamp_last_update_
on true the system should be reseted on the next loop
virtual void init()=0
map of type enum to human readable names
Type type_
time since the previous processed measurment