add slam_gmapping

This commit is contained in:
X-lanni
2025-06-06 16:15:07 +08:00
parent 9187b9fb85
commit a7b75c31cb
141 changed files with 15992 additions and 0 deletions
@@ -0,0 +1,41 @@
/*****************************************************************
*
* This file is part of the GMAPPING project
*
* GMAPPING Copyright (c) 2004 Giorgio Grisetti,
* Cyrill Stachniss, and Wolfram Burgard
*
* This software is licensed under the "Creative Commons
* License (Attribution-NonCommercial-ShareAlike 2.0)"
* and is copyrighted by Giorgio Grisetti, Cyrill Stachniss,
* and Wolfram Burgard.
*
* Further information on this license can be found at:
* http://creativecommons.org/licenses/by-nc-sa/2.0/
*
* GMAPPING is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE.
*
*****************************************************************/
#include <qapplication.h>
#include "qparticleviewer.h"
int main (int argc, char ** argv){
QApplication app(argc, argv);
QParticleViewer * pviewer=new QParticleViewer(0);
app.setMainWidget(pviewer);
pviewer->show();
FILE* f=fopen(argv[1], "r");
if (!f)
return -1;
QTextIStream is(f);
pviewer->tis=&is;
pviewer->start(10);
return app.exec();
std::cout << "DONE: " << argv[1] <<endl;
}