gfs_logplayer.cpp
Go to the documentation of this file.
1 /*****************************************************************
2  *
3  * This file is part of the GMAPPING project
4  *
5  * GMAPPING Copyright (c) 2004 Giorgio Grisetti,
6  * Cyrill Stachniss, and Wolfram Burgard
7  *
8  * This software is licensed under the "Creative Commons
9  * License (Attribution-NonCommercial-ShareAlike 2.0)"
10  * and is copyrighted by Giorgio Grisetti, Cyrill Stachniss,
11  * and Wolfram Burgard.
12  *
13  * Further information on this license can be found at:
14  * http://creativecommons.org/licenses/by-nc-sa/2.0/
15  *
16  * GMAPPING is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied
18  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
19  * PURPOSE.
20  *
21  *****************************************************************/
22 
23 
24 #include <qapplication.h>
25 #include "qparticleviewer.h"
26 
27 int main (int argc, char ** argv){
28  QApplication app(argc, argv);
29  QParticleViewer * pviewer=new QParticleViewer(0);
30  app.setMainWidget(pviewer);
31  pviewer->show();
32  FILE* f=fopen(argv[1], "r");
33  if (!f)
34  return -1;
35  QTextIStream is(f);
36  pviewer->tis=&is;
37  pviewer->start(10);
38  return app.exec();
39  std::cout << "DONE: " << argv[1] <<endl;
40 }
41 
int main(int argc, char **argv)
ifstream is(argv[c])


openslam_gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard
autogenerated on Mon Jun 10 2019 14:04:22