g2o
Functions
test_slam_parser.cpp File Reference
#include <iostream>
#include "slam_context.h"
#include "driver.h"
#include "commands.h"
Include dependency graph for test_slam_parser.cpp:

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

int main ( )

Definition at line 34 of file test_slam_parser.cpp.

References SlamParser::Driver::parse_stream(), SlamParser::Driver::trace_parsing, and SlamParser::Driver::trace_scanning.

35 {
36  SlamParser::SlamContext slamContext;
37  SlamParser::Driver driver(slamContext);
38  driver.trace_parsing = true;
39  driver.trace_scanning = true;
40 
41  bool parseStatus = driver.parse_stream(cin);
42  if (! parseStatus)
43  return 1;
44 }