revised include files
parent
7bfd8b36f4
commit
46cfa84068
|
@ -15,11 +15,9 @@
|
||||||
|
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
|
||||||
#include <gtsam/inference/graph-inl.h>
|
#include <gtsam/slam/pose2SLAM.h>
|
||||||
#include <gtsam/inference/FactorGraph-inl.h>
|
|
||||||
#include <gtsam/linear/SubgraphSolver-inl.h>
|
#include <gtsam/linear/SubgraphSolver-inl.h>
|
||||||
#include <gtsam/nonlinear/NonlinearOptimizer-inl.h>
|
#include <gtsam/nonlinear/NonlinearOptimizer-inl.h>
|
||||||
#include <gtsam/slam/pose2SLAM.h>
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace gtsam;
|
using namespace gtsam;
|
||||||
|
@ -31,9 +29,7 @@ typedef boost::shared_ptr<Values> sharedValue ;
|
||||||
|
|
||||||
|
|
||||||
typedef SubgraphSolver<Graph, GaussianFactorGraph, Values> Solver;
|
typedef SubgraphSolver<Graph, GaussianFactorGraph, Values> Solver;
|
||||||
|
|
||||||
typedef boost::shared_ptr<Solver> sharedSolver ;
|
typedef boost::shared_ptr<Solver> sharedSolver ;
|
||||||
|
|
||||||
typedef NonlinearOptimizer<Graph, Values, GaussianFactorGraph, Solver> SPCGOptimizer;
|
typedef NonlinearOptimizer<Graph, Values, GaussianFactorGraph, Solver> SPCGOptimizer;
|
||||||
|
|
||||||
sharedGraph graph;
|
sharedGraph graph;
|
||||||
|
|
|
@ -16,10 +16,9 @@
|
||||||
|
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
|
||||||
#include <gtsam/inference/graph-inl.h>
|
|
||||||
#include <gtsam/inference/FactorGraph-inl.h>
|
|
||||||
#include <gtsam/nonlinear/NonlinearOptimization-inl.h>
|
|
||||||
#include <gtsam/slam/pose2SLAM.h>
|
#include <gtsam/slam/pose2SLAM.h>
|
||||||
|
#include <gtsam/nonlinear/NonlinearOptimization-inl.h>
|
||||||
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace gtsam;
|
using namespace gtsam;
|
||||||
|
@ -29,8 +28,6 @@ Graph graph;
|
||||||
Values initial;
|
Values initial;
|
||||||
Values result;
|
Values result;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
int main(void) {
|
int main(void) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue