sensorlog.h
Go to the documentation of this file.
1 #ifndef SENSORLOG_H
2 #define SENSORLOG_H
3 
4 #include <list>
5 #include <istream>
11 #include "configuration.h"
12 
13 namespace GMapping {
14 
15 class SensorLog : public std::list<SensorReading*>{
16  public:
17  SensorLog(const SensorMap&);
18  ~SensorLog();
19  std::istream& load(std::istream& is);
20  OrientedPoint boundingBox(double& xmin, double& ymin, double& xmax, double& ymax) const;
21  protected:
23  OdometryReading* parseOdometry(std::istream& is, const OdometrySensor* ) const;
24  RangeReading* parseRange(std::istream& is, const RangeSensor* ) const;
25 };
26 
27 };
28 
29 #endif
OdometryReading * parseOdometry(std::istream &is, const OdometrySensor *) const
Definition: sensorlog.cpp:64
OrientedPoint boundingBox(double &xmin, double &ymin, double &xmax, double &ymax) const
Definition: sensorlog.cpp:121
RangeReading * parseRange(std::istream &is, const RangeSensor *) const
Definition: sensorlog.cpp:78
const SensorMap & m_sensorMap
Definition: sensorlog.h:22
std::istream & load(std::istream &is)
Definition: sensorlog.cpp:23
std::map< std::string, Sensor * > SensorMap
Definition: sensor.h:19
ifstream is(argv[c])
SensorLog(const SensorMap &)
Definition: sensorlog.cpp:15


openslam_gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard
autogenerated on Mon Jun 10 2019 14:04:22