RtabmapThread: when receiving new map event from odometry, wait until the buffer has reached the corresponding timestamp before triggering a new map. DBReader: regenerate stamps when sync capture rate with stamps in database is false. MainWindow: ask for PNG or JPEG format when activating auto capture.

This commit is contained in:
matlabbe
2017-12-11 17:09:04 -05:00
parent ff135322f6
commit d776092b35
5 changed files with 47 additions and 13 deletions

View File

@@ -113,6 +113,7 @@ private:
std::queue<ParametersMap> _stateParam;
std::list<OdometryEvent> _dataBuffer;
std::list<double> _newMapEvents;
UMutex _dataMutex;
USemaphore _dataAdded;
unsigned int _dataBufferMaxSize;