From e4054a9206b5dd21b3b55e2960b77c2c6ded8990 Mon Sep 17 00:00:00 2001 From: Markus Bullmann Date: Wed, 18 Sep 2019 10:52:37 +0200 Subject: [PATCH] Fixed file encoding --- code/FtmKalman.h | 4 ++-- code/Settings.h | 6 +++--- code/filter.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/code/FtmKalman.h b/code/FtmKalman.h index 11bdc78..384cd38 100644 --- a/code/FtmKalman.h +++ b/code/FtmKalman.h @@ -58,8 +58,8 @@ struct Kalman 0, square(processNoiseVelocity); // Prediction - x = A * x; // Prädizierter Zustand aus Bisherigem und System - P = A * P*A.transpose()+Q; // Prädizieren der Kovarianz + x = A * x; // Prädizierter Zustand aus Bisherigem und System + P = A * P*A.transpose()+Q; // Prädizieren der Kovarianz // Correction float Z = measurment; diff --git a/code/Settings.h b/code/Settings.h index 785a4e4..f2a6363 100644 --- a/code/Settings.h +++ b/code/Settings.h @@ -167,7 +167,7 @@ namespace Settings { { 0, 1, 2, 3 } }; - // 1 Path: U von TR nach TD und zurück; + // 1 Path: U von TR nach TD und zurück; const DataSetup Path1 = { mapDir + "map2_ap_path1.xml", { @@ -228,7 +228,7 @@ namespace Settings { { 1, 2, 6, 7, 6, 2, 1, 2, 6, 7, 6, 2, 1 } }; - // 4 Path: In Räumen + // 4 Path: In Räumen const DataSetup Path4 = { mapDir + "map2_ap_path2.xml", { @@ -249,7 +249,7 @@ namespace Settings { }; - // 5 Path: In Räumen extendend + // 5 Path: In Räumen extendend const DataSetup Path5 = { mapDir + "map2_ap_path2.xml", { diff --git a/code/filter.h b/code/filter.h index a69c0b1..55deb66 100644 --- a/code/filter.h +++ b/code/filter.h @@ -315,7 +315,7 @@ public: Point3 apPos = Settings::data.CurrentPath.NUCs.find(wifi.first)->second.position; Point3 particlePos = p.state.pos.pos; - particlePos.z = 1.3; // smartphone höhe + particlePos.z = 1.3; // smartphone höhe float apDist = particlePos.getDistance(apPos); if (Settings::UseKalman)