Skip to content
Snippets Groups Projects
Commit 0bafc064 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Follow core 302

parent 92d547c3
No related branches found
No related tags found
2 merge requests!30Release after RAL,!29After 2nd RAL submission
......@@ -2,9 +2,9 @@
#define FEATURE_ICP_ALIGN_H_
//Wolf includes
#include <core/factor/factor_odom_2d.h>
#include "core/common/wolf.h"
#include "core/feature/feature_base.h"
#include "core/factor/factor_odom_2d.h"
#include "laser_scan_utils/icp.h"
......
......@@ -8,8 +8,8 @@
#include <laser/capture/capture_laser_2d.h>
#include <core/factor/factor_base.h>
#include <core/factor/factor_loopclosure_2d.h>
#include <core/feature/feature_base.h>
#include <core/factor/factor_odom_2d_closeloop.h>
#include <laser/feature/feature_icp_align.h>
/**************************
......
......@@ -243,7 +243,7 @@ CapturesAligned ProcessorCloseloopIcp::bestCandidate(std::map<double, CapturesAl
FactorBasePtr ProcessorCloseloopIcp::emplaceFeatureAndFactor(CapturesAligned &_captures_aligned)
{
auto ftr = FeatureBase::emplace<FeatureICPAlign>(_captures_aligned.capture_own, _captures_aligned.align_result);
return FactorBase::emplace<FactorOdom2dCloseloop>(ftr, ftr, _captures_aligned.capture_other->getFrame(), shared_from_this(), params_->apply_loss_function);
return FactorBase::emplace<FactorLoopclosure2d>(ftr, ftr, _captures_aligned.capture_other->getFrame(), shared_from_this(), params_->apply_loss_function);
}
}
// Register in the FactorySensor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment