gfs_logplayer.cpp
Go to the documentation of this file.
00001 /*****************************************************************
00002  *
00003  * This file is part of the GMAPPING project
00004  *
00005  * GMAPPING Copyright (c) 2004 Giorgio Grisetti, 
00006  * Cyrill Stachniss, and Wolfram Burgard
00007  *
00008  * This software is licensed under the "Creative Commons 
00009  * License (Attribution-NonCommercial-ShareAlike 2.0)" 
00010  * and is copyrighted by Giorgio Grisetti, Cyrill Stachniss, 
00011  * and Wolfram Burgard.
00012  * 
00013  * Further information on this license can be found at:
00014  * http://creativecommons.org/licenses/by-nc-sa/2.0/
00015  * 
00016  * GMAPPING is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied 
00018  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00019  * PURPOSE.  
00020  *
00021  *****************************************************************/
00022 
00023 
00024 #include <qapplication.h>
00025 #include "qparticleviewer.h"
00026 
00027 int  main (int argc, char ** argv){
00028         QApplication app(argc, argv);
00029         QParticleViewer * pviewer=new QParticleViewer(0);
00030         app.setMainWidget(pviewer);
00031         pviewer->show();
00032         FILE* f=fopen(argv[1], "r");
00033         if (!f)
00034                 return -1;
00035         QTextIStream is(f);
00036         pviewer->tis=&is;
00037         pviewer->start(10);
00038         return app.exec();
00039         std::cout << "DONE: " << argv[1] <<endl;
00040 }
00041 


openslam_gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard
autogenerated on Fri Aug 28 2015 11:56:21