added simple transition with normal distribution

This commit is contained in:
toni
2019-09-18 12:18:56 +02:00
parent e4054a9206
commit bb1d141088
2 changed files with 27 additions and 14 deletions

View File

@@ -265,7 +265,7 @@ static Stats::Statistics<float> run(Settings::DataSetup setup, int walkIdx, std:
auto eval = std::make_unique<MyPFEval>();
eval->kalmanMap = kalmanMap;
auto trans = std::make_unique<MyPFTrans>(mesh);
auto trans = std::make_unique<MyPFTransRandom>();
//auto trans = std::make_unique<MyPFTransStatic>();
auto resample = std::make_unique<SMC::ParticleFilterResamplingSimple<MyState>>();
@@ -380,7 +380,7 @@ static Stats::Statistics<float> run(Settings::DataSetup setup, int walkIdx, std:
ctrl.lastEstimate = est.pos.pos;
// draw wifi ranges
// draw wifi ranges
for (auto& ftm : obs.wifi)
{
int nucid = Settings::data.CurrentPath.NUCs.at(ftm.second.getAP().getMAC()).ID;