From a3554efbace8f8e33c8065ac44c9c6fc194b1e7a Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 27 Nov 2017 18:13:44 -0500 Subject: [PATCH] took away diffusion orientation bias --- ble-cpp/src/model/PoseRandomWalker.cpp | 2 +- bleloc.podspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ble-cpp/src/model/PoseRandomWalker.cpp b/ble-cpp/src/model/PoseRandomWalker.cpp index a6437f6..d5863f6 100644 --- a/ble-cpp/src/model/PoseRandomWalker.cpp +++ b/ble-cpp/src/model/PoseRandomWalker.cpp @@ -61,7 +61,7 @@ namespace loc{ // Perturb variables in State if(nSteps>0 || mProperty->doesUpdateWhenStopping() ){ - state.orientationBias(state.orientationBias() + stateProperty->diffusionOrientationBias()*randomGenerator.nextGaussian()*dTime ); + state.orientationBias(state.orientationBias()); // + stateProperty->diffusionOrientationBias()*randomGenerator.nextGaussian()*dTime // removed by Chris state.rssiBias(randomGenerator.nextTruncatedGaussian(state.rssiBias(), stateProperty->diffusionRssiBias()*dTime, stateProperty->minRssiBias(), diff --git a/bleloc.podspec b/bleloc.podspec index 42eb359..23f2c54 100644 --- a/bleloc.podspec +++ b/bleloc.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "bleloc" - s.version = "2.0.7-Chris" + s.version = "2.0.8-Chris" s.summary = "Localization library" s.homepage = "https://github.com/realCabot/" s.description = <<-DESC @@ -9,7 +9,7 @@ This is a localization library for bluetooth le beacons. s.license = "MIT" s.author = "realCabot" - s.source = { :http => "http://github.com/RealCabot/blelocpp/releases/download/2.0.7-Chris/bleloc.framework.zip" } + s.source = { :http => "http://github.com/RealCabot/blelocpp/releases/download/2.0.8-Chris/bleloc.framework.zip" } s.preserve_path = "bleloc.framework" s.vendored_frameworks = "bleloc.framework" s.platforms = {:ios => "8.4"}