#include <OptimizerTORO.h>
Public Member Functions | |
virtual std::map< int, Transform > | optimize (int rootId, const std::map< int, Transform > &poses, const std::multimap< int, Link > &edgeConstraints, cv::Mat &outputCovariance, std::list< std::map< int, Transform > > *intermediateGraphes=0, double *finalError=0, int *iterationsDone=0) |
OptimizerTORO (int iterations=Parameters::defaultOptimizerIterations(), bool slam2d=Parameters::defaultRegForce3DoF(), bool covarianceIgnored=Parameters::defaultOptimizerVarianceIgnored(), double epsilon=Parameters::defaultOptimizerEpsilon()) | |
OptimizerTORO (const ParametersMap ¶meters) | |
virtual Type | type () const |
virtual | ~OptimizerTORO () |
Static Public Member Functions | |
static bool | available () |
static bool | loadGraph (const std::string &fileName, std::map< int, Transform > &poses, std::multimap< int, Link > &edgeConstraints) |
static bool | saveGraph (const std::string &fileName, const std::map< int, Transform > &poses, const std::multimap< int, Link > &edgeConstraints) |
Definition at line 37 of file OptimizerTORO.h.
rtabmap::OptimizerTORO::OptimizerTORO | ( | int | iterations = Parameters::defaultOptimizerIterations() , |
bool | slam2d = Parameters::defaultRegForce3DoF() , |
||
bool | covarianceIgnored = Parameters::defaultOptimizerVarianceIgnored() , |
||
double | epsilon = Parameters::defaultOptimizerEpsilon() |
||
) | [inline] |
Definition at line 53 of file OptimizerTORO.h.
rtabmap::OptimizerTORO::OptimizerTORO | ( | const ParametersMap & | parameters | ) | [inline] |
Definition at line 59 of file OptimizerTORO.h.
virtual rtabmap::OptimizerTORO::~OptimizerTORO | ( | ) | [inline, virtual] |
Definition at line 61 of file OptimizerTORO.h.
bool rtabmap::OptimizerTORO::available | ( | ) | [static] |
Definition at line 45 of file OptimizerTORO.cpp.
bool rtabmap::OptimizerTORO::loadGraph | ( | const std::string & | fileName, |
std::map< int, Transform > & | poses, | ||
std::multimap< int, Link > & | edgeConstraints | ||
) | [static] |
Definition at line 412 of file OptimizerTORO.cpp.
std::map< int, Transform > rtabmap::OptimizerTORO::optimize | ( | int | rootId, |
const std::map< int, Transform > & | poses, | ||
const std::multimap< int, Link > & | edgeConstraints, | ||
cv::Mat & | outputCovariance, | ||
std::list< std::map< int, Transform > > * | intermediateGraphes = 0 , |
||
double * | finalError = 0 , |
||
int * | iterationsDone = 0 |
||
) | [virtual] |
Reimplemented from rtabmap::Optimizer.
Definition at line 54 of file OptimizerTORO.cpp.
bool rtabmap::OptimizerTORO::saveGraph | ( | const std::string & | fileName, |
const std::map< int, Transform > & | poses, | ||
const std::multimap< int, Link > & | edgeConstraints | ||
) | [static] |
Definition at line 335 of file OptimizerTORO.cpp.
virtual Type rtabmap::OptimizerTORO::type | ( | ) | const [inline, virtual] |
Implements rtabmap::Optimizer.
Definition at line 63 of file OptimizerTORO.h.