mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Minor fixes... modified some logs
git-svn-id: http://rtabmap.googlecode.com/svn/branches/0.3/rtabmap@103 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -677,11 +677,11 @@ Signature * KeypointMemory::createSignature(int id, const SMState * smState, boo
|
||||
unsigned int descriptorSize = descriptors.begin()->size();
|
||||
if(_parallelized)
|
||||
{
|
||||
ULOGGER_DEBUG("time descriptor and memory update (size=%d) = %fs", descriptorSize, timer.ticks());
|
||||
ULOGGER_DEBUG("time descriptor and memory update (%d of size=%d) = %fs", (int)descriptors.size(), (int)descriptorSize, timer.ticks());
|
||||
}
|
||||
else
|
||||
{
|
||||
ULOGGER_DEBUG("time descriptor (size=%d) = %fs", descriptorSize, timer.ticks());
|
||||
ULOGGER_DEBUG("time descriptor (%d of size=%d) = %fs", (int)descriptors.size(), (int)descriptorSize, timer.ticks());
|
||||
}
|
||||
|
||||
//append actuators
|
||||
@@ -713,7 +713,7 @@ Signature * KeypointMemory::createSignature(int id, const SMState * smState, boo
|
||||
}
|
||||
descriptors.push_back(descriptor);
|
||||
}
|
||||
ULOGGER_DEBUG("time setup actuators (%d) like descriptors %fs", (int)actuatorSize, timer.ticks());
|
||||
ULOGGER_DEBUG("time setup actuators (%d of length %d) like descriptors %fs", (int)actuators.size(), (int)actuatorSize, timer.ticks());
|
||||
}
|
||||
|
||||
wordIds = _vwd->addNewWords(descriptors, descriptorSize, id);
|
||||
|
||||
@@ -531,7 +531,7 @@ std::list<int> VWDictionary::addNewWords(const std::list<std::vector<float> > &
|
||||
}
|
||||
else
|
||||
{
|
||||
UWARN("Not enough nearest neighbors found!");
|
||||
UWARN("Not enough nearest neighbors found! fullResults=%d (descriptor %d)", fullResults.size(), i);
|
||||
badDist = true; // Rejected
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user