27 #ifndef G2O_DATA_QUEUE_H 28 #define G2O_DATA_QUEUE_H 43 typedef std::map<double, RobotData*>
Buffer;
51 RobotData* findClosestData(
double timestamp)
const;
53 RobotData* before(
double timestamp)
const;
56 const Buffer&
buffer()
const {
return _buffer;}
#define G2O_TYPES_DATA_API
const Buffer & buffer() const
a simple queue to store data and retrieve based on a timestamp
std::map< double, RobotData * > Buffer
data recorded by the robot