Added moving average

This commit is contained in:
2019-07-02 10:36:24 +02:00
parent 2c4d0beacc
commit 4415288cda
5 changed files with 263 additions and 181 deletions

View File

@@ -93,6 +93,8 @@ namespace Settings {
const std::string dataDir = "../measurements/data/";
const std::string errorDir = "../measurements/error/";
const bool UseKalman = false;
/** describes one dataset (map, training, parameter-estimation, ...) */
const MACAddress NUC1("38:de:ad:6d:77:25");
@@ -107,6 +109,9 @@ namespace Settings {
float ftm_offset = 0.0f;
float rssi_pathloss = 0.0f;
float kalman_measStdDev = 0.0f;
float kalman_procNoiseDistStdDev = 0.0f; // standard deviation of distance for process noise
float kalman_procNoiseVelStdDev = 0.0f; // standard deviation of velocity for process noise
};
struct DataSetup {
@@ -224,7 +229,7 @@ namespace Settings {
{ 0, 1, 2, 11, 10, 9, 10, 11, 2, 6, 5, 12, 13, 12, 5, 6, 7, 8 }
};
const DataSetup CurrentPath = Path3;
const DataSetup CurrentPath = Path5;
} data;