mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 01:27:46 +08:00
core: added rtabmap::deleteLocation(id)
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@920 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -1209,13 +1209,20 @@ void Rtabmap::setWorkingDirectory(std::string path)
|
||||
|
||||
void Rtabmap::deleteLastLocation()
|
||||
{
|
||||
|
||||
if(_memory)
|
||||
{
|
||||
_memory->deleteLastLocation();
|
||||
}
|
||||
}
|
||||
|
||||
void Rtabmap::deleteLocation(int locationId)
|
||||
{
|
||||
if(_memory)
|
||||
{
|
||||
_memory->deleteLocation(locationId);
|
||||
}
|
||||
}
|
||||
|
||||
void Rtabmap::rejectLastLoopClosure()
|
||||
{
|
||||
UDEBUG("_lcHypothesisId=%d", _lcHypothesisId);
|
||||
@@ -1236,7 +1243,6 @@ void Rtabmap::rejectLastLoopClosure()
|
||||
|
||||
void Rtabmap::process(const cv::Mat & image, int id, std::multimap<int, cv::KeyPoint> * words)
|
||||
{
|
||||
|
||||
this->process(Image(image, id), words);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user