g2o
Functions
test_slam_interface.cpp File Reference
#include <iostream>
#include "example_slam_interface.h"
#include "slam_parser/interface/parser_interface.h"
Include dependency graph for test_slam_interface.cpp:

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

int main ( )

Definition at line 33 of file test_slam_interface.cpp.

References SlamParser::ParserInterface::parseCommand().

34 {
35  ExampleSlamInterface slamInterface;
36  SlamParser::ParserInterface parserInterface(&slamInterface);
37 
38  while (parserInterface.parseCommand(cin))
39  {
40  // do something additional if needed
41  }
42 
43  return 0;
44 }
example for an interface to a SLAM algorithm
top-level interface to the parser