31 lines
826 B
C++
31 lines
826 B
C++
/**
|
|
* @file Pose2Graph.cpp
|
|
* @brief A factor graph for the 2D PoseSLAM problem
|
|
* @authors Frank Dellaert, Viorela Ila
|
|
*/
|
|
|
|
#include "Pose2Graph.h"
|
|
#include "FactorGraph-inl.h"
|
|
#include "NonlinearFactorGraph-inl.h"
|
|
#include "graph-inl.h"
|
|
|
|
using namespace std;
|
|
using namespace gtsam;
|
|
|
|
namespace gtsam {
|
|
|
|
// explicit instantiation so all the code is there and we can link with it
|
|
template class FactorGraph<NonlinearFactor<Pose2Config> > ;
|
|
template class NonlinearFactorGraph<Pose2Config> ;
|
|
//template class NonlinearOptimizer<Pose2Graph, Pose2Config> ;
|
|
|
|
/* ************************************************************************* */
|
|
|
|
bool Pose2Graph::equals(const Pose2Graph& p, double tol) const {
|
|
return false;
|
|
}
|
|
|
|
/* ************************************************************************* */
|
|
|
|
} // namespace gtsam
|