Go to the source code of this file.
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 58 of file g2o_online.cpp.
References hasToStop, g2o::CommandArgs::param(), g2o::CommandArgs::parseArgs(), SlamParser::ParserInterface::parseCommand(), g2o::SparseOptimizer::setForceStopFlag(), g2o::G2oSlamInterface::setUpdateGraphEachN(), g2o::SparseOptimizer::setVerbose(), and g2o::SparseOptimizerOnline::vizWithGnuplot.
66 arg.
param(
"update", updateEachN, 10,
"update the graph after inserting N nodes");
67 arg.
param(
"pcg", pcg,
false,
"use PCG instead of Cholesky");
68 arg.
param(
"v", verbose,
false,
"verbose output of the optimization process");
69 arg.
param(
"g", vis,
false,
"gnuplot visualization");
75 optimizer.setVerbose(verbose);
77 optimizer.vizWithGnuplot = vis;
80 slamInterface.setUpdateGraphEachN(updateEachN);
84 while (parserInterface.parseCommand(cin))
Command line parsing of argc and argv.
top-level interface to the parser
bool parseArgs(int argc, char **argv, bool exitOnError=true)
void param(const std::string &name, bool &p, bool defValue, const std::string &desc)
void sigquit_handler |
( |
int |
sig | ) |
|