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
42 lines
829 B
C++
42 lines
829 B
C++
#ifndef SENSORFACTORYANDROID_H
|
|
#define SENSORFACTORYANDROID_H
|
|
|
|
#ifdef ANDROID
|
|
|
|
#include "../SensorFactory.h"
|
|
|
|
#include "WiFiSensorAndroid.h"
|
|
#include "AccelerometerSensorAndroid.h"
|
|
#include "GyroscopeSensorAndroid.h"
|
|
#include "BarometerSensorAndroid.h"
|
|
|
|
/**
|
|
* sensor factory that provides real hardware sensors from
|
|
* an android smartphone that fire real data values
|
|
*/
|
|
class SensorFactoryAndroid : public SensorFactory {
|
|
|
|
public:
|
|
|
|
WiFiSensor& getWiFi() override {
|
|
return WiFiSensorAndroid::get();
|
|
}
|
|
|
|
AccelerometerSensor& getAccelerometer() override {
|
|
return AccelerometerSensorAndroid::get();
|
|
}
|
|
|
|
GyroscopeSensor& getGyroscope() override {
|
|
return GyroscopeSensorAndroid::get();
|
|
}
|
|
|
|
BarometerSensor& getBarometer() override {
|
|
return BarometerSensorAndroid::get();
|
|
}
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
#endif // SENSORFACTORYANDROID_H
|