added gps support

added compass support
added ui elements for gps and compass
added support for writing sensor data
This commit is contained in:
2017-03-21 16:27:14 +01:00
parent c7c94cbebe
commit b0712ec005
24 changed files with 586 additions and 30 deletions

32
ui/debug/PlotGPS.h Normal file
View 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