#include <g2o_slam_interface.h>
Public Member Functions | |
bool | addEdge (const std::string &tag, int id, int dimension, int v1, int v2, const std::vector< double > &measurement, const std::vector< double > &information) |
bool | addNode (const std::string &tag, int id, int dimension, const std::vector< double > &values) |
bool | fixNode (const std::vector< int > &nodes) |
G2oSlamInterface (SparseOptimizerOnline *optimizer) | |
bool | queryState (const std::vector< int > &nodes) |
void | setUpdateGraphEachN (int n) |
bool | solveState () |
int | updatedGraphEachN () const |
Protected Member Functions | |
OptimizableGraph::Vertex * | addVertex (int dimension, int id) |
bool | printVertex (OptimizableGraph::Vertex *v) |
Protected Attributes | |
int | _batchEveryN |
HyperGraph::EdgeSet | _edgesAdded |
bool | _firstOptimization |
int | _incIterations |
bool | _initSolverDone |
int | _lastBatchStep |
int | _nodesAdded |
SparseOptimizerOnline * | _optimizer |
int | _updateGraphEachN |
HyperGraph::VertexSet | _verticesAdded |
Definition at line 30 of file g2o_slam_interface.h.
g2o::G2oSlamInterface::G2oSlamInterface | ( | SparseOptimizerOnline * | optimizer | ) |
Definition at line 112 of file g2o_slam_interface.cpp.
bool g2o::G2oSlamInterface::addEdge | ( | const std::string & | tag, |
int | id, | ||
int | dimension, | ||
int | v1, | ||
int | v2, | ||
const std::vector< double > & | measurement, | ||
const std::vector< double > & | information | ||
) |
Definition at line 135 of file g2o_slam_interface.cpp.
bool g2o::G2oSlamInterface::addNode | ( | const std::string & | tag, |
int | id, | ||
int | dimension, | ||
const std::vector< double > & | values | ||
) |
Definition at line 119 of file g2o_slam_interface.cpp.
OptimizableGraph::Vertex * g2o::G2oSlamInterface::addVertex | ( | int | dimension, |
int | id | ||
) | [protected] |
Definition at line 374 of file g2o_slam_interface.cpp.
bool g2o::G2oSlamInterface::fixNode | ( | const std::vector< int > & | nodes | ) |
Definition at line 308 of file g2o_slam_interface.cpp.
bool g2o::G2oSlamInterface::printVertex | ( | OptimizableGraph::Vertex * | v | ) | [protected] |
Definition at line 393 of file g2o_slam_interface.cpp.
bool g2o::G2oSlamInterface::queryState | ( | const std::vector< int > & | nodes | ) |
Definition at line 318 of file g2o_slam_interface.cpp.
void g2o::G2oSlamInterface::setUpdateGraphEachN | ( | int | n | ) |
Definition at line 440 of file g2o_slam_interface.cpp.
Definition at line 341 of file g2o_slam_interface.cpp.
int g2o::G2oSlamInterface::updatedGraphEachN | ( | ) | const [inline] |
Definition at line 45 of file g2o_slam_interface.h.
int g2o::G2oSlamInterface::_batchEveryN [protected] |
Definition at line 54 of file g2o_slam_interface.h.
Definition at line 59 of file g2o_slam_interface.h.
bool g2o::G2oSlamInterface::_firstOptimization [protected] |
Definition at line 50 of file g2o_slam_interface.h.
int g2o::G2oSlamInterface::_incIterations [protected] |
Definition at line 52 of file g2o_slam_interface.h.
bool g2o::G2oSlamInterface::_initSolverDone [protected] |
Definition at line 56 of file g2o_slam_interface.h.
int g2o::G2oSlamInterface::_lastBatchStep [protected] |
Definition at line 55 of file g2o_slam_interface.h.
int g2o::G2oSlamInterface::_nodesAdded [protected] |
Definition at line 51 of file g2o_slam_interface.h.
SparseOptimizerOnline* g2o::G2oSlamInterface::_optimizer [protected] |
Definition at line 49 of file g2o_slam_interface.h.
int g2o::G2oSlamInterface::_updateGraphEachN [protected] |
Definition at line 53 of file g2o_slam_interface.h.
Definition at line 58 of file g2o_slam_interface.h.