g2o
|
read / write gm2dl file into / out of a SparseOptimizer More...
#include <gm2dl_io.h>
Static Public Member Functions | |
static bool | readGm2dl (const std::string &filename, SparseOptimizer &optimizer, bool overrideCovariances=false) |
static bool | updateLaserData (SparseOptimizer &optimizer) |
static bool | writeGm2dl (const std::string &filename, const SparseOptimizer &optimizer) |
static int | readRobotLaser (const std::string &filename, DataQueue &queue) |
Static Public Attributes | |
static const int | ID_LASERPOSE = numeric_limits<int>::max() |
static const int | ID_ODOMCALIB = numeric_limits<int>::max() - 1 |
read / write gm2dl file into / out of a SparseOptimizer
Definition at line 39 of file gm2dl_io.h.
|
static |
Definition at line 48 of file gm2dl_io.cpp.
References g2o::OptimizableGraph::addEdge(), g2o::OptimizableGraph::addVertex(), g2o::SparseOptimizer::clear(), g2o::BaseVertex< D, T >::estimate(), g2o::SE2::fromVector(), g2o::BaseEdge< D, E >::information(), g2o::SE2::inverse(), g2o::RawLaser::laserParams(), g2o::LaserParameters::laserPose, g2o::RobotLaser::read(), g2o::readLine(), g2o::BaseVertex< D, T >::setEstimate(), g2o::OptimizableGraph::Vertex::setId(), g2o::EdgeSE2SensorCalib::setMeasurement(), g2o::HyperGraph::DataContainer::setUserData(), g2o::HyperGraph::Edge::setVertex(), and g2o::OptimizableGraph::vertex().
|
static |
Definition at line 238 of file gm2dl_io.cpp.
References g2o::DataQueue::add(), g2o::RobotLaser::read(), and g2o::readLine().
|
static |
Definition at line 213 of file gm2dl_io.cpp.
References g2o::BaseVertex< D, T >::estimate(), g2o::HyperGraph::Vertex::id(), g2o::RawLaser::laserParams(), g2o::LaserParameters::laserPose, g2o::RawLaser::setLaserParams(), g2o::RobotLaser::setOdomPose(), g2o::HyperGraph::DataContainer::userData(), g2o::OptimizableGraph::vertex(), and g2o::HyperGraph::vertices().
|
static |
Definition at line 162 of file gm2dl_io.cpp.
References g2o::HyperGraph::edges(), g2o::HyperGraph::Vertex::id(), g2o::BaseEdge< D, E >::information(), g2o::BaseEdge< D, E >::measurement(), g2o::Factory::tag(), g2o::SE2::toVector(), g2o::HyperGraph::DataContainer::userData(), g2o::HyperGraph::Edge::vertex(), g2o::HyperGraph::vertices(), g2o::HyperGraph::Data::write(), and g2o::OptimizableGraph::Vertex::write().
|
static |
the global ID we assign the laser pose vertex
Definition at line 45 of file gm2dl_io.h.
|
static |
Definition at line 46 of file gm2dl_io.h.