g2o
Namespaces | Macros | Functions
graph_optimizer_sparse_incremental.cpp File Reference
#include "graph_optimizer_sparse_incremental.h"
#include "g2o/examples/interactive_slam/g2o_interactive/types_slam2d_online.h"
#include "g2o/examples/interactive_slam/g2o_interactive/types_slam3d_online.h"
#include "g2o/core/block_solver.h"
#include "g2o/core/optimization_algorithm_gauss_newton.h"
#include "g2o/stuff/macros.h"
Include dependency graph for graph_optimizer_sparse_incremental.cpp:

Go to the source code of this file.

Namespaces

 g2o
 

Macros

#define DIM_TO_SOLVER(p, l)   BlockSolver< BlockSolverTraits<p, l> >
 
#define ALLOC_CHOLMOD(s, p, l)
 

Functions

static OptimizationAlgorithm * g2o::createSolver (const std::string &solverName)
 

Macro Definition Documentation

#define ALLOC_CHOLMOD (   s,
  p,
 
)
Value:
if (1) { \
std::cerr << "# Using CHOLMOD online poseDim " << p << " landMarkDim " << l << " blockordering 1" << std::endl; \
LinearSolverCholmodOnline < DIM_TO_SOLVER(p, l)::PoseMatrixType >* linearSolver = new LinearSolverCholmodOnline<DIM_TO_SOLVER(p, l)::PoseMatrixType>(); \
s = new DIM_TO_SOLVER(p, l)(linearSolver); \
} else (void)0
#define DIM_TO_SOLVER(p, l)

Definition at line 29 of file graph_optimizer_sparse_incremental.cpp.

Referenced by g2o::createSolver().

#define DIM_TO_SOLVER (   p,
 
)    BlockSolver< BlockSolverTraits<p, l> >

Definition at line 27 of file graph_optimizer_sparse_incremental.cpp.