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

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 34 of file test_slam_parser.cpp.

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

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