g2o
Loading...
Searching...
No Matches
Functions
slam2d_g2o.cpp File Reference
#include <QApplication>
#include <iostream>
#include "g2o/core/factory.h"
#include "g2o/core/sparse_optimizer.h"
#include "main_window.h"
Include dependency graph for slam2d_g2o.cpp:

Go to the source code of this file.

Functions

 G2O_USE_TYPE_GROUP (slam2d)
 
int main (int argc, char **argv)
 

Function Documentation

◆ G2O_USE_TYPE_GROUP()

G2O_USE_TYPE_GROUP ( slam2d  )

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 30 of file slam2d_g2o.cpp.

30 {
31 QApplication qapp(argc, argv);
32
33 MainWindow mw;
34 mw.viewer->graph = new SparseOptimizer();
35 mw.show();
36
37 return qapp.exec();
38}
main window of the g2o viewer
Definition main_window.h:40