Increased version 0.10.8: modified RtabmapGlobalPathEvent interface with label

This commit is contained in:
matlabbe
2015-09-21 16:35:36 -04:00
parent 55834644cf
commit b6d2c6163e
4 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ void RtabmapThread::mainLoop()
{
UERROR("Failed to set a goal to location=%d.", id);
}
this->post(new RtabmapGlobalPathEvent(id, _rtabmap->getPath()));
this->post(new RtabmapGlobalPathEvent(id, parameters.at("label"), _rtabmap->getPath()));
break;
case kStateCancellingGoal:
_rtabmap->clearPath();