experimentes nearly done

This commit is contained in:
toni
2017-05-06 01:04:48 +02:00
parent b4720ae288
commit 5b2e1b0c65
26 changed files with 45206 additions and 23 deletions

View File

@@ -211,8 +211,8 @@ struct ModeProbabilityTransitionNormal : public K::MarkovTransitionProbability<M
//create the matrix
Eigen::MatrixXd m(2,2);
m << expKld, 1.0 - expKld, 1 - qualityWifi, qualityWifi;
//m << expKld, 1.0 - expKld, 0.00000000000000000001, 0.99999999999999999999;
//m << expKld, 1.0 - expKld, 1 - qualityWifi, qualityWifi;
m << 1, 0, 0, 1.0;
return m;

View File

@@ -305,8 +305,8 @@ K::Statistics<float> run(DataSetup setup, int numFile, std::string folder, std::
//plot.setEst(estPos);
//plot.setGT(gtPos);
//plot.addParticles1(IMMAPF.getModes()[0].getParticles());
//plot.addParticles2(IMMAPF.getModes()[1].getParticles());
plot.addParticles1(IMMAPF.getModes()[0].getParticles());
plot.addParticles2(IMMAPF.getModes()[1].getParticles());
plot.addEstimationNode(estPos);
//plot.addEstimationNodeSmoothed(IMMAPF.getModes()[1].getEstimation().position.inMeter());
@@ -354,8 +354,8 @@ K::Statistics<float> run(DataSetup setup, int numFile, std::string folder, std::
wifiFile << __QUALITY << "\n";
//plot.show();
//usleep(10*10);
plot.show();
usleep(10*10);
lastTimestamp = ts;
@@ -456,7 +456,7 @@ int main(int argc, char** argv) {
K::Statistics<float> statsQuantil;
K::Statistics<float> tmp;
for(int i = 0; i < 25; ++i){
for(int i = 0; i < 1; ++i){
// Settings::useKLB = false;
// errorPair = run(data.IPIN2017, 1, "ipin2017", Settings::Paths_IPIN2017::path1);
// run(data.IPIN2017, 0, "ipin2017", Settings::Paths_IPIN2017::path1);