RtabmapThread: using stamps in odometry messages to throttle detection rate (if stamps are not set, system time is used)

This commit is contained in:
matlabbe
2016-01-14 11:37:39 -05:00
parent dc2746a365
commit 6cc511cb80
3 changed files with 11 additions and 4 deletions

View File

@@ -106,6 +106,7 @@ private:
float _rate;
bool _createIntermediateNodes;
UTimer * _frameRateTimer;
double _previousStamp;
Rtabmap * _rtabmap;
bool _paused;