See #658. README: added example to colcon with cmake options.

This commit is contained in:
matlabbe
2021-10-14 16:11:56 -04:00
parent 1f600abda6
commit 4ba60c8aff
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -3199,7 +3199,7 @@ void CoreWrapper::globalBundleAdjustmentCallback(
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)
{
RCLCPP_ERROR(get_logger(), "Post-Processing: Global Bundle Adjustment failed!");