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 3-Clause BSD License
9  * and is copyrighted by Giorgio Grisetti, Cyrill Stachniss,
10  * and Wolfram Burgard.
11  *
12  * Further information on this license can be found at:
13  * https://opensource.org/licenses/BSD-3-Clause
14  *
15  * GMAPPING is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied
17  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18  * PURPOSE.
19  *
20  *****************************************************************/
21 
22 
23 #include <qapplication.h>
25 
26 int main (int argc, char ** argv){
27  QApplication app(argc, argv);
28  QParticleViewer * pviewer=new QParticleViewer(0);
29  app.setMainWidget(pviewer);
30  pviewer->show();
31  FILE* f=fopen(argv[1], "r");
32  if (!f)
33  return -1;
34  QTextIStream is(f);
35  pviewer->tis=&is;
36  pviewer->start(10);
37  return app.exec();
38  std::cout << "DONE: " << argv[1] <<endl;
39 }
40 
int main(int argc, char **argv)
ifstream is(argv[c])


openslam_gmapping
Author(s): Cyrill Stachniss, Udo Frese, Giorgio Grisetti, Wolfram Burgard
autogenerated on Mon Feb 28 2022 22:59:20