mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
Bugfix Corewrapper::globalBundleAdjustmentCallback
Fixed wrong order of arguments in the call to Rtabmap::globalBundleAdjustment method.
This commit is contained in:
+1
-1
@@ -3233,7 +3233,7 @@ bool CoreWrapper::globalBundleAdjustmentCallback(rtabmap_ros::GlobalBundleAdjust
|
|||||||
iterations,
|
iterations,
|
||||||
pixelVariance,
|
pixelVariance,
|
||||||
rematchFeatures?"true":"false");
|
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)
|
if(!success)
|
||||||
{
|
{
|
||||||
NODELET_ERROR("Post-Processing: Global Bundle Adjustment failed!");
|
NODELET_ERROR("Post-Processing: Global Bundle Adjustment failed!");
|
||||||
|
|||||||
Reference in New Issue
Block a user