85 lines
2.7 KiB
C++
85 lines
2.7 KiB
C++
#ifndef SETTINGS_H
|
|
#define SETTINGS_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace Settings {
|
|
|
|
const std::string pathData = "/apps/android/workspace/OTHER2017/data/";
|
|
const std::string pathWalks = "/apps/android/workspace/OTHER2017/data/";
|
|
|
|
const std::string path1a = pathWalks + "path1/1490208103510.csv";
|
|
const std::string path1b = pathWalks + "path1/1490208519267.csv";
|
|
|
|
const std::string path2a = pathWalks + "path2/1490208940015.csv";
|
|
const std::string path2b = pathWalks + "path2/1490209320343.csv";
|
|
|
|
|
|
const std::string fMap = "/apps/android/workspace/IndoorMap/maps/SHL37.xml";
|
|
const std::string fCalib = "/apps/android/workspace/OTHER2017/data/wifi_fp_all.dat";
|
|
|
|
const std::string fPathGFX = "/apps/android/workspace/OTHER2017/tex/gfx/";
|
|
|
|
int numParticles = 5000;
|
|
|
|
float smartphoneAboveGround = 1.3;
|
|
|
|
namespace IMU {
|
|
const float turnSigma = 1.5 + 1.5;//1.5;
|
|
const float stepLength = 0.80;
|
|
const float stepSigma = 0.40;
|
|
}
|
|
|
|
namespace Grid {
|
|
constexpr int gridSize_cm = 20;
|
|
}
|
|
|
|
namespace Filter {
|
|
const Timestamp updateEvery = Timestamp::fromMS(500);
|
|
}
|
|
|
|
|
|
// //const GridPoint destination = GridPoint(70*100, 35*100, 0*100); // use destination
|
|
// const GridPoint destination = GridPoint(0,0,0); // do not use destination
|
|
|
|
// namespace SensorDebug {
|
|
// const Timestamp updateEvery = Timestamp::fromMS(200);
|
|
// }
|
|
|
|
namespace WiFiModel {
|
|
|
|
constexpr float sigma = 8.0;
|
|
|
|
/** if the wifi-signal-strengths are stored on the grid-nodes, this needs a grid rebuild! */
|
|
constexpr float TXP = -44;
|
|
constexpr float EXP = 2.5;
|
|
constexpr float WAF = -8.0;
|
|
// constexpr float TXP = -64.5896;
|
|
// constexpr float EXP = 1.25986;
|
|
// constexpr float WAF = -2.47467;
|
|
|
|
// how to perform VAP grouping
|
|
const VAPGrouper vg_calib = VAPGrouper(VAPGrouper::Mode::LAST_MAC_DIGIT_TO_ZERO, VAPGrouper::Aggregation::AVERAGE);
|
|
const VAPGrouper vg_eval = VAPGrouper(VAPGrouper::Mode::LAST_MAC_DIGIT_TO_ZERO, VAPGrouper::Aggregation::AVERAGE);
|
|
}
|
|
|
|
|
|
namespace GroundTruth {
|
|
|
|
// IPIN2017 [toni]
|
|
//const std::vector<int> path1 = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
|
|
//const std::vector<int> path2 = {11, 12, 3, 2, 1, 0, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 11};
|
|
//const std::vector<int> path3 = {31, 32, 33, 34, 35, 36, 37, 38};
|
|
|
|
// OTHER2017 [frank]
|
|
const std::vector<int> path1 = {40, 41, 42, 43, 44, 45, 1, 0, 46, 47, 48, 49, 50, 51, 52};
|
|
const std::vector<int> path2 = {53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66};
|
|
const std::vector<int> path3 = {52, 51, 67, 68, 50, 49, 69, 70, 71, 72, 73, 74, 75, 76, 77, 73, 78, 79, 80, 81, 61, 82, 83, 84, 42, 41, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif // SETTINGS_H
|