Bugfix Corewrapper::globalBundleAdjustmentCallback

Fixed wrong order of arguments in the call to Rtabmap::globalBundleAdjustment method.
This commit is contained in:
Dominik Klein
2021-10-14 10:40:16 +02:00
committed by GitHub
parent 176e6126b8
commit 9ee61b9a27
+1 -1
View File
@@ -3233,7 +3233,7 @@ bool CoreWrapper::globalBundleAdjustmentCallback(rtabmap_ros::GlobalBundleAdjust
iterations,
pixelVariance,
rematchFeatures?"true":"false");
bool success = rtabmap_.globalBundleAdjustment((Optimizer::Type)optimizer, iterations, pixelVariance, rematchFeatures);
bool success = rtabmap_.globalBundleAdjustment((Optimizer::Type)optimizer, rematchFeatures, iterations, pixelVariance);
if(!success)
{
NODELET_ERROR("Post-Processing: Global Bundle Adjustment failed!");