#include <SpaSolver.h>
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 () |
virtual const karto::ScanSolver::IdPoseVector & | GetCorrections () const |
void | getGraph (std::vector< float > &g) |
x,y -> x',y' 4 floats per connection More... | |
void | reCompute () |
SpaSolver () | |
virtual | ~SpaSolver () |
Public Member Functions inherited from karto::ScanSolver | |
ScanSolver () | |
Public Member Functions inherited from karto::Referenced | |
Referenced () | |
Private Attributes | |
karto::ScanSolver::IdPoseVector | corrections |
SysSPA2d | m_Spa |
ros::Time | mLastSPA |
Additional Inherited Members | |
Public Types inherited from karto::ScanSolver | |
typedef List< Pair< kt_int32s, Pose2 > > | IdPoseVector |
Protected Member Functions inherited from karto::ScanSolver | |
virtual void | RemoveConstraint (kt_int32s, kt_int32s) |
virtual void | RemoveNode (kt_int32s) |
Protected Member Functions inherited from karto::Referenced | |
kt_int32s | GetReferenceCount () |
kt_int32s | Reference () const |
kt_int32s | Unreference () const |
kt_int32s | UnreferenceNoDelete () const |
Definition at line 36 of file SpaSolver.h.
SpaSolver::SpaSolver | ( | ) |
Definition at line 22 of file SpaSolver.cpp.
|
virtual |
Definition at line 28 of file SpaSolver.cpp.
|
virtual |
Adds a constraint to the solver
Reimplemented from karto::ScanSolver.
Definition at line 74 of file SpaSolver.cpp.
|
virtual |
Adds a node to the solver
Reimplemented from karto::ScanSolver.
Definition at line 67 of file SpaSolver.cpp.
|
virtual |
Resets the solver
Reimplemented from karto::ScanSolver.
Definition at line 33 of file SpaSolver.cpp.
|
virtual |
|
virtual |
Gets corrected poses after optimization
Implements karto::ScanSolver.
Definition at line 38 of file SpaSolver.cpp.
|
inline |
x,y -> x',y' 4 floats per connection
Definition at line 53 of file SpaSolver.h.
void SpaSolver::reCompute | ( | ) |
Definition at line 60 of file SpaSolver.cpp.
|
private |
Definition at line 57 of file SpaSolver.h.
|
private |
Definition at line 59 of file SpaSolver.h.
|
private |
Definition at line 61 of file SpaSolver.h.