added gps support
added compass support added ui elements for gps and compass added support for writing sensor data
This commit is contained in:
32
ui/debug/PlotGPS.h
Normal file
32
ui/debug/PlotGPS.h
Normal file
@@ -0,0 +1,32 @@
|
||||
#ifndef PLOTGPS_H
|
||||
#define PLOTGPS_H
|
||||
|
||||
|
||||
#include <QWidget>
|
||||
#include "../sensors/GPSSensor.h"
|
||||
|
||||
#include <Indoor/data/Timestamp.h>
|
||||
|
||||
class PlotGPS : public QWidget {
|
||||
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
|
||||
GPSData gpsData;
|
||||
|
||||
public:
|
||||
|
||||
explicit PlotGPS(QWidget *parent = 0);
|
||||
|
||||
void add(const Timestamp ts, const GPSData& data);
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
||||
void paintEvent(QPaintEvent*);
|
||||
|
||||
};
|
||||
|
||||
#endif // PLOTGPS_H
|
||||
Reference in New Issue
Block a user