|
g2o
|
#include <cassert>#include <csignal>#include <iostream>#include "g2o/examples/interactive_slam/g2o_interactive/g2o_slam_interface.h"#include "g2o/stuff/command_args.h"#include "g2o/stuff/macros.h"#include "g2o/stuff/string_tools.h"#include "g2o/stuff/tictoc.h"#include "graph_optimizer_sparse_incremental.h"#include "slam_parser/interface/parser_interface.h"
Go to the source code of this file.
Classes | |
| struct | EdgeInformation |
| Store the information parsed from a g2o file. More... | |
| struct | IncrementalEdgesCompare |
| Sort Edges for inserting them sequentially. More... | |
Functions | |
| void | solveAndPrint (G2oSlamInterface &slamInterface, bool verbose) |
| void | sigquit_handler (int sig) |
| int | main (int argc, char **argv) |
Variables | |
| static bool | hasToStop = false |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 86 of file g2o_incremental.cpp.
References g2o::G2oSlamInterface::addEdge(), g2o::G2oSlamInterface::addNode(), EdgeInformation::fromId, hasToStop, EdgeInformation::information, EdgeInformation::measurement, g2o::CommandArgs::param(), g2o::CommandArgs::parseArgs(), SlamParser::ParserInterface::parseCommand(), g2o::readLine(), g2o::OptimizableGraph::save(), g2o::G2oSlamInterface::setBatchSolveEachN(), g2o::SparseOptimizer::setForceStopFlag(), g2o::G2oSlamInterface::setUpdateGraphEachN(), g2o::SparseOptimizer::setVerbose(), solveAndPrint(), g2o::tictoc(), EdgeInformation::toId, and g2o::SparseOptimizerOnline::vizWithGnuplot.
| void sigquit_handler | ( | int | sig | ) |
Definition at line 75 of file g2o_incremental.cpp.
References __PRETTY_FUNCTION__, and hasToStop.
|
inline |
Definition at line 59 of file g2o_incremental.cpp.
References g2o::G2oSlamInterface::optimizer(), g2o::G2oSlamInterface::solve(), g2o::G2oSlamInterface::SOLVED, g2o::G2oSlamInterface::SOLVED_BATCH, and g2o::HyperGraph::vertices().
Referenced by main().
|
static |
Definition at line 29 of file g2o_incremental.cpp.
Referenced by main(), and sigquit_handler().