a lot!!! of changes
added main menu added debug display many debug widgets for plotting live data worked on android live sensors added offline-data sensor feeding some dummy data sensors worked on the map display added ui debug for grid-points, particles and weights added a cool dude to display the estimation added real filtering based on the Indoor components c++11 fixes for android compilation online and offline filtering support new resampling technique for testing map loading via dialog
This commit is contained in:
43
sensors/offline/SensorFactoryOffline.h
Normal file
43
sensors/offline/SensorFactoryOffline.h
Normal file
@@ -0,0 +1,43 @@
|
||||
#ifndef SENSORFACTORYOFFLINE_H
|
||||
#define SENSORFACTORYOFFLINE_H
|
||||
|
||||
#include <thread>
|
||||
|
||||
#include "../SensorFactory.h"
|
||||
#include "AllInOneSensor.h"
|
||||
#include <Indoor/sensors/offline/OfflineAndroid.h>
|
||||
|
||||
/**
|
||||
* factory class that provides sensors that fire events from offline data
|
||||
*/
|
||||
class SensorFactoryOffline : public SensorFactory {
|
||||
|
||||
private:
|
||||
|
||||
AllInOneSensor allInOne;
|
||||
|
||||
public:
|
||||
|
||||
SensorFactoryOffline(const std::string& file) : allInOne(file) {
|
||||
;
|
||||
}
|
||||
|
||||
WiFiSensor& getWiFi() override {
|
||||
return allInOne;
|
||||
}
|
||||
|
||||
AccelerometerSensor& getAccelerometer() override {
|
||||
return allInOne;
|
||||
}
|
||||
|
||||
GyroscopeSensor& getGyroscope() override {
|
||||
return allInOne;
|
||||
}
|
||||
|
||||
BarometerSensor& getBarometer() override {
|
||||
return allInOne;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // SENSORFACTORYOFFLINE_H
|
||||
Reference in New Issue
Block a user