app geht. optimierung spinnt noch weng

This commit is contained in:
toni
2018-07-17 14:59:39 +02:00
parent e6ede27212
commit 2bb3fb8f82
8 changed files with 90 additions and 47 deletions

View File

@@ -10,7 +10,7 @@
namespace Settings {
const int numParticles = 5000;
const int numParticles = 2500;
namespace IMU {
const float turnSigma = 1.5; // 3.5
@@ -39,12 +39,12 @@ namespace Settings {
namespace WiFiModel {
constexpr float sigma = 13.0; //TODO: im Museum hatten wir 8.0
constexpr float sigma = 8.0; //TODO: im Museum hatten wir 8.0
/** if the wifi-signal-strengths are stored on the grid-nodes, this needs a grid rebuild! */
constexpr float TXP = -48;
constexpr float EXP = 2.5;
constexpr float WAF = -5.0;
constexpr float TXP = -45;
constexpr float EXP = 2.3;
constexpr float WAF = -5.0;
// how to perform VAP grouping. see
// - calibration in Controller.cpp
@@ -88,7 +88,10 @@ namespace Settings {
std::string tried;
QDir dStorage("/storage");
QStringList lst = dStorage.entryList();
lst.append("/sdcard/YASMIN/");
lst.append("sdcard/YASMIN/");
lst.append("emulated/0");
//TODO: THIS IS A MESS, PURE CHAOS xD
// try each potential folder
for (const QString subfolder : lst) {