add slam_gmapping
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#ifndef _QNAVIGATOR_WIDGET_H
|
||||
#define _QNAVIGATOR_WIDGET_H
|
||||
|
||||
#include "qmappainter.h"
|
||||
#include "qpixmapdumper.h"
|
||||
#include <utils/point.h>
|
||||
#include <list>
|
||||
|
||||
class QNavigatorWidget : public QMapPainter{
|
||||
public:
|
||||
QNavigatorWidget( QWidget * parent = 0, const char * name = 0, WFlags f = 0);
|
||||
virtual ~QNavigatorWidget();
|
||||
std::list<GMapping::IntPoint > trajectoryPoints;
|
||||
bool repositionRobot;
|
||||
GMapping::IntPoint robotPose;
|
||||
double robotHeading;
|
||||
bool confirmLocalization;
|
||||
bool enableMotion;
|
||||
bool startWalker;
|
||||
bool startGlobalLocalization;
|
||||
bool trajectorySent;
|
||||
bool goHome;
|
||||
bool wantsQuit;
|
||||
bool writeImages;
|
||||
QPixmapDumper dumper;
|
||||
bool drawRobot;
|
||||
|
||||
protected:
|
||||
virtual void paintEvent ( QPaintEvent *paintevent );
|
||||
virtual void mousePressEvent ( QMouseEvent * e );
|
||||
virtual void keyPressEvent ( QKeyEvent * e );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user