28 #ifndef RTABMAPTHREAD_H_ 29 #define RTABMAPTHREAD_H_ 66 void clearBufferedData();
67 void setDetectorRate(
float rate);
68 void setDataBufferSize(
unsigned int bufferSize);
69 void createIntermediateNodes(
bool enabled);
82 void close(
bool databaseSaved,
const std::string & databasePath =
"");
85 virtual bool handleEvent(
UEvent * anEvent);
88 virtual void mainLoopBegin();
89 virtual void mainLoop();
90 virtual void mainLoopKill();
95 void publishMap(
bool optimized,
bool full,
bool graphOnly)
const;
std::list< OdometryEvent > _dataBuffer
bool _createIntermediateNodes
bool getCreateIntermediateNodes() const
unsigned int _dataBufferMaxSize
std::queue< RtabmapEventCmd > _stateParam
unsigned int getDataBufferSize() const
float getDetectorRate() const
std::list< double > _newMapEvents
std::queue< State > _state