mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 01:27:46 +08:00
Added Bundle Adjustment options to OdometryF2M (OdomF2M/BundleAdjustment) and RegistrationVis (Vis/BundleAdjustment). Added logger thread filter. RegistrationVis: Copy back corresponding input word IDs to output words when available. Memory::computeTransform() added option to use already computed corespondences if possible (proximity detection by time uses this). Updated Optimizer::optimizeBA() interface.
This commit is contained in:
@@ -1184,7 +1184,8 @@ bool Rtabmap::process(
|
||||
guess = newPose.inverse() * _optimizedPoses.at(*iter);
|
||||
}
|
||||
|
||||
Transform transform = _memory->computeTransform(signature->id(), *iter, guess, &info);
|
||||
// For proximity by time, correspondences should be already enough precise, so don't recompute them
|
||||
Transform transform = _memory->computeTransform(signature->id(), *iter, guess, &info, true);
|
||||
|
||||
if(!transform.isNull())
|
||||
{
|
||||
@@ -1217,7 +1218,7 @@ bool Rtabmap::process(
|
||||
}
|
||||
|
||||
timeProximityByTimeDetection = timer.ticks();
|
||||
UINFO("timeLocalTimeDetection=%fs", timeProximityByTimeDetection);
|
||||
UINFO("timeProximityByTimeDetection=%fs", timeProximityByTimeDetection);
|
||||
|
||||
//============================================================
|
||||
// Bayes filter update
|
||||
|
||||
Reference in New Issue
Block a user