|
g2o
|
#include <Eigen/Core>#include <Eigen/Geometry>#include <iostream>#include "g2o/core/auto_differentiation.h"#include "g2o/core/base_unary_edge.h"#include "g2o/core/base_vertex.h"#include "g2o/core/optimization_algorithm_factory.h"#include "g2o/core/sparse_optimizer.h"#include "g2o/stuff/command_args.h"#include "g2o/stuff/sampler.h"
Go to the source code of this file.
Classes | |
| class | VertexCircle |
| a circle located at x,y with radius r More... | |
| class | EdgePointOnCircle |
| measurement for a point on the circle More... | |
Functions | |
| G2O_USE_OPTIMIZATION_LIBRARY (dense) | |
| double | errorOfSolution (int numPoints, Eigen::Vector2d *points, const Eigen::Vector3d &circle) |
| int | main (int argc, char **argv) |
| double errorOfSolution | ( | int | numPoints, |
| Eigen::Vector2d * | points, | ||
| const Eigen::Vector3d & | circle | ||
| ) |
Definition at line 43 of file circle_fit.cpp.
Referenced by main().
| G2O_USE_OPTIMIZATION_LIBRARY | ( | dense | ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 104 of file circle_fit.cpp.
References g2o::OptimizableGraph::addEdge(), g2o::OptimizableGraph::addVertex(), errorOfSolution(), g2o::BaseVertex< D, T >::estimate(), g2o::Sampler::gaussRand(), g2o::SparseOptimizer::initializeOptimization(), g2o::OptimizationAlgorithmFactory::instance(), g2o::SparseOptimizer::optimize(), g2o::CommandArgs::param(), g2o::CommandArgs::parseArgs(), g2o::Sampler::seedRand(), g2o::SparseOptimizer::setAlgorithm(), g2o::BaseVertex< D, T >::setEstimate(), g2o::OptimizableGraph::Vertex::setId(), g2o::BaseEdge< D, E >::setInformation(), g2o::BaseEdge< D, E >::setMeasurement(), g2o::SparseOptimizer::setVerbose(), g2o::HyperGraph::Edge::setVertex(), and g2o::Sampler::uniformRand().