version for plotting the figures of kde paper
This commit is contained in:
106
Settings.h
106
Settings.h
@@ -9,7 +9,7 @@ namespace Settings {
|
||||
|
||||
bool useKLB = false;
|
||||
|
||||
const int numParticles = 6000;
|
||||
const int numParticles = 5000;
|
||||
const int numBSParticles = 50;
|
||||
|
||||
namespace IMU {
|
||||
@@ -83,16 +83,104 @@ namespace Settings {
|
||||
constexpr bool useMainThread = false; // perform filtering in the main thread
|
||||
}
|
||||
|
||||
namespace Path_DongleTest {
|
||||
const std::vector<int> path1 = {0, 1, 2, 3, 4, 5, 6};
|
||||
const std::vector<int> path2 = {6, 5, 4, 7, 8, 9, 8, 10};
|
||||
const std::vector<int> path3 = {10, 8, 7, 4, 11, 12, 13, 14, 6};
|
||||
const std::vector<int> path4 = {0, 1, 2, 3, 4, 5, 6, 71, 7, 8, 9, 10};
|
||||
const std::vector<int> path5 = {40, 41, 85, 117, 31, 32, 33, 34, 35, 36, 37, 12, 3, 4, 5, 6, 71};
|
||||
const std::vector<int> path6 = {28, 27, 26, 25, 24, 23, 22, 21, 20, 1, 2, 3, 4, 6, 5};
|
||||
const std::string mapDir = "../map/";
|
||||
const std::string dataDir = "../measurements/";
|
||||
const std::string errorDir = dataDir + "results/";
|
||||
|
||||
}
|
||||
/** describes one dataset (map, training, parameter-estimation, ...) */
|
||||
struct DataSetup {
|
||||
std::string map;
|
||||
std::vector<std::string> training;
|
||||
std::string fingerprints;
|
||||
std::string wifiModel;
|
||||
int numGTPoints;
|
||||
};
|
||||
|
||||
/** all configured datasets */
|
||||
struct Data {
|
||||
|
||||
DataSetup Path0 = {
|
||||
|
||||
mapDir + "map42_ap_path0.xml",
|
||||
|
||||
{
|
||||
dataDir + "museum/Nexus/Path0_4113.csv",
|
||||
dataDir + "museum/Nexus/Path0_6563.csv",
|
||||
dataDir + "museum/Pixel/Path0_1498.csv",
|
||||
dataDir + "museum/Pixel/Path0_2529.csv",
|
||||
dataDir + "museum/Pixel/Path0_7380.csv",
|
||||
//dataDir + "museum/Samsung/Path0_4208.csv",
|
||||
//dataDir + "museum/Samsung/Path0_6812.csv",
|
||||
},
|
||||
|
||||
dataDir + "museum/Nexus/fingerprints/wifi_fp.dat",
|
||||
dataDir + "museum/wifimodel.dat",
|
||||
15
|
||||
};
|
||||
|
||||
DataSetup Path1 = {
|
||||
|
||||
mapDir + "map42_ap_path1_hofzu.xml",
|
||||
|
||||
{
|
||||
dataDir + "museum/Nexus/Path1_1548.csv",
|
||||
dataDir + "museum/Nexus/Path1_9477.csv",
|
||||
dataDir + "museum/Pixel/Path1_2468.csv",
|
||||
dataDir + "museum/Pixel/Path1_5497.csv",
|
||||
dataDir + "museum/Pixel/Path1_8787.csv",
|
||||
dataDir + "museum/Samsung/Path1_5745.csv",
|
||||
dataDir + "museum/Samsung/Path1_9130.csv"
|
||||
},
|
||||
|
||||
dataDir + "museum/Nexus/fingerprints/wifi_fp.dat",
|
||||
dataDir + "museum/wifimodel.dat",
|
||||
32
|
||||
};
|
||||
|
||||
DataSetup Path2 = {
|
||||
|
||||
mapDir + "map42_ap_path2.xml",
|
||||
|
||||
{
|
||||
dataDir + "museum/Nexus/Path2_0374.csv",
|
||||
dataDir + "museum/Nexus/Path2_4718.csv",
|
||||
dataDir + "museum/Nexus/Path2_8766.csv",
|
||||
dataDir + "museum/Pixel/Path2_4336.csv",
|
||||
dataDir + "museum/Pixel/Path2_4341.csv",
|
||||
dataDir + "museum/Pixel/Path2_9038.csv",
|
||||
//dataDir + "museum/Samsung/Path2_3326.csv",
|
||||
//dataDir + "museum/Samsung/Path2_5814.csv"
|
||||
},
|
||||
|
||||
dataDir + "museum/Nexus/fingerprints/wifi_fp.dat",
|
||||
dataDir + "museum/wifimodel.dat",
|
||||
44
|
||||
};
|
||||
|
||||
DataSetup Path3 = {
|
||||
|
||||
mapDir + "map42_ap_path3.xml",
|
||||
|
||||
{
|
||||
dataDir + "museum/Nexus/Path3_4519.csv",
|
||||
dataDir + "museum/Nexus/Path3_5929.csv",
|
||||
dataDir + "museum/Pixel/Path3_6307.csv",
|
||||
dataDir + "museum/Pixel/Path3_5451.csv",
|
||||
dataDir + "museum/Pixel/Path3_9243.csv",
|
||||
//dataDir + "museum/Samsung/Path3_7610.csv",
|
||||
//dataDir + "museum/Samsung/Path3_7819.csv"
|
||||
},
|
||||
|
||||
dataDir + "museum/Nexus/fingerprints/wifi_fp.dat",
|
||||
dataDir + "museum/wifimodel.dat",
|
||||
45
|
||||
};
|
||||
|
||||
} data;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // SETTINGS_H
|
||||
|
||||
Reference in New Issue
Block a user