Skip to content
Snippets Groups Projects

Resolve "Adapt to new generic factors API"

Merged Joan Vallvé Navarro requested to merge 17-adapt-to-new-generic-factors-api into devel
4 files
+ 4
20
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -33,11 +33,6 @@ class FactorAhp : public FactorAutodiff<FactorAhp, 2, 3, 4, 3, 4, 4>
@@ -33,11 +33,6 @@ class FactorAhp : public FactorAutodiff<FactorAhp, 2, 3, 4, 3, 4, 4>
~FactorAhp() override = default;
~FactorAhp() override = default;
std::string getTopology() const override
{
return std::string("LMK");
}
template<typename T>
template<typename T>
void expectation(const T* const _current_frame_p,
void expectation(const T* const _current_frame_p,
const T* const _current_frame_o,
const T* const _current_frame_o,
@@ -63,6 +58,7 @@ inline FactorAhp::FactorAhp(const FeatureBasePtr& _ftr_ptr,
@@ -63,6 +58,7 @@ inline FactorAhp::FactorAhp(const FeatureBasePtr& _ftr_ptr,
bool _apply_loss_function,
bool _apply_loss_function,
FactorStatus _status) :
FactorStatus _status) :
FactorAutodiff<FactorAhp, 2, 3, 4, 3, 4, 4>("AHP",
FactorAutodiff<FactorAhp, 2, 3, 4, 3, 4, 4>("AHP",
 
TOP_LMK,
_ftr_ptr,
_ftr_ptr,
_landmark_ptr->getAnchorFrame(),
_landmark_ptr->getAnchorFrame(),
nullptr,
nullptr,
Loading