mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Don't publish new node data when in localization mode
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1676 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -1525,7 +1525,7 @@ bool Rtabmap::process(const SensorData & data)
|
||||
{
|
||||
// Add data
|
||||
std::vector<unsigned char> im;
|
||||
if(_rgbdSlamMode)
|
||||
if(_rgbdSlamMode && _memory->isIncremental())
|
||||
{
|
||||
std::vector<unsigned char> depth, depth2d;
|
||||
float fx, fy, cx, cy;
|
||||
|
||||
Reference in New Issue
Block a user