Public Member Functions | Private Attributes
G2oSolver Class Reference

#include <G2oSolver.h>

Inheritance diagram for G2oSolver:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void AddConstraint (karto::Edge< karto::LocalizedObjectPtr > *pEdge)
virtual void AddNode (karto::Vertex< karto::LocalizedObjectPtr > *pVertex)
virtual void Clear ()
virtual void Compute ()
 G2oSolver ()
virtual const
karto::ScanSolver::IdPoseVector
GetCorrections () const
virtual ~G2oSolver ()

Private Attributes

karto::ScanSolver::IdPoseVector mCorrections
g2o::SparseOptimizer mOptimizer

Detailed Description

Definition at line 8 of file G2oSolver.h.


Constructor & Destructor Documentation

Definition at line 21 of file G2oSolver.cpp.

G2oSolver::~G2oSolver ( ) [virtual]

Definition at line 30 of file G2oSolver.cpp.


Member Function Documentation

Adds a constraint to the solver

Reimplemented from karto::ScanSolver.

Definition at line 94 of file G2oSolver.cpp.

Adds a node to the solver

Reimplemented from karto::ScanSolver.

Definition at line 84 of file G2oSolver.cpp.

void G2oSolver::Clear ( ) [virtual]

Resets the solver

Reimplemented from karto::ScanSolver.

Definition at line 38 of file G2oSolver.cpp.

void G2oSolver::Compute ( ) [virtual]

Solve!

Implements karto::ScanSolver.

Definition at line 45 of file G2oSolver.cpp.

Gets corrected poses after optimization

Returns:
optimized poses

Implements karto::ScanSolver.

Definition at line 139 of file G2oSolver.cpp.


Member Data Documentation

Definition at line 24 of file G2oSolver.h.

g2o::SparseOptimizer G2oSolver::mOptimizer [private]

Definition at line 25 of file G2oSolver.h.


The documentation for this class was generated from the following files:


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Thu Aug 27 2015 14:07:25