mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
updated rgbd example with rtabmap rate to 1 hz
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1161 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -57,7 +57,6 @@ int main(int argc, char * argv[])
|
|||||||
Rtabmap * rtabmap = new Rtabmap();
|
Rtabmap * rtabmap = new Rtabmap();
|
||||||
rtabmap->init();
|
rtabmap->init();
|
||||||
RtabmapThread rtabmapThread(rtabmap); // ownership is transfered
|
RtabmapThread rtabmapThread(rtabmap); // ownership is transfered
|
||||||
rtabmapThread.setDetectorRate(0.0f); // as fast as we can
|
|
||||||
|
|
||||||
// Setup handlers
|
// Setup handlers
|
||||||
odomThread.registerToEventsManager();
|
odomThread.registerToEventsManager();
|
||||||
|
|||||||
Reference in New Issue
Block a user