mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Changed SMState interface (how the ownership of the image is transferred)
git-svn-id: http://rtabmap.googlecode.com/svn/branches/0.3/rtabmap@70 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -417,11 +417,13 @@ int main(int argc, char * argv[])
|
||||
v[0] = 2;
|
||||
v[1] = 0;
|
||||
teleopActions.push_back(v);
|
||||
smState = new SMState(image, teleopActions);
|
||||
smState = new SMState(std::list<std::vector<float> >(), teleopActions);
|
||||
smState->setImage(image);
|
||||
}
|
||||
else
|
||||
{
|
||||
smState = new SMState(image, actions);
|
||||
smState = new SMState(std::list<std::vector<float> >(), actions);
|
||||
smState->setImage(image);
|
||||
}
|
||||
rtabmap->process(smState);
|
||||
loopClosureId = rtabmap->getLoopClosureId();
|
||||
|
||||
Reference in New Issue
Block a user