Fixed many bugs

This commit is contained in:
2018-02-27 10:49:05 +01:00
parent 9d4927a365
commit 1fb9461a5f
8 changed files with 67 additions and 68 deletions

View File

@@ -2,8 +2,8 @@
To demonstrate the real time capabilities of the proposed method a real world scenario was chosen, namely indoor localization.
The given problem is to localize a pedestrian walking inside a building.
Ebner et al. proposed a method, which incorporate multiple sensors, e.g. Wi-Fi, barometer, step-detection and turn-detection \cite{Ebner-15}.
At a given time $t$ the system estimates a state consisting of the three-dimensional position.
Ebner et al. proposed a method, which incorporates multiple sensors, e.g. Wi-Fi, barometer, step-detection and turn-detection \cite{Ebner-15}.
At a given time $t$ the system estimates a state providing the most probable position of the pedestrian.
It is implemented using a particle filter with sample importance resampling and \SI{5000} particles.
The dynamics are modelled realistically, which constrains the movement according to walls, doors and stairs.
@@ -17,11 +17,11 @@ The bivariate state estimation was calculated whenever a step was recognized, ab
\begin{figure}
\input{gfx/walk.tex}
\caption{Occurring bimodal distribution, caused by uncertain measurements. After \SI{20.8}{\second}, the distribution gets unimodal. The weigted-average estimation (blue) provides an high error compared to the ground truth (solid black), while the boxKDE approach (orange) does not. }
\caption{Occurring bimodal distribution at the start of the walk, caused by uncertain measurements. After \SI{20.8}{\second}, the distribution gets unimodal. The weigted-average estimation (blue) provides an high error compared to the ground truth (solid black), while the boxKDE approach (orange) does not. }
\label{fig:realWorldMulti}
\end{figure}
%
Fig. \ref{fig:realWorldMulti} illustrates a frequently occurring situation, where the particle set splits apart, due to uncertain measurements and multiple possible walking directions.
Fig.~\ref{fig:realWorldMulti} illustrates a frequently occurring situation, where the particle set splits apart, due to uncertain measurements and multiple possible walking directions.
This results in a bimodal posterior distribution, which reaches its maximum distances between the modes at \SI{13.4}{\second} (black dotted line).
Thus estimating the most probable state using the weighted-average results in the blue line, describing the pedestrian's position to be somewhere outside the building (light green area).
In contrast, the here proposed method (orange line) is able to retrieve a good estimate compared the the ground truth path shown by the black solid line.
@@ -30,7 +30,7 @@ This happens since the lower red particles are walking against a wall and thus p
This example highlights the main benefits using our approach.
While being fast enough to be computed in real time, the proposed method reduces the estimation error of the state in this situation, as it is possible to distinguish the two modes of the density.
It is clearly visible, that it enables the system to recover the real state if multimodalities arise.
It is clearly visible, that this enables the system to recover the real state if multimodalities arise.
However, in situations with highly uncertain measurements, the estimation error could further increase since the real estimate is not equal to the best estimate, i.e. the real position of the pedestrian.
The error over time for different estimation methods of the complete walk can be seen in fig. \ref{fig:realWorldTime}.
@@ -45,7 +45,7 @@ Additionally, in most real world scenarios many particles share the same weight
\label{fig:realWorldTime}
\end{figure}
Further investigating fig. \ref{fig:realWorldTime}, the boxKDE performs slightly better then the weighted-average, however after deploying \SI{100} Monte Carlo runs, the difference becomes insignificant.
Further investigating fig. \ref{fig:realWorldTime}, the boxKDE performs slightly better than the weighted-average, however after deploying \SI{100} Monte Carlo runs, the difference becomes insignificant.
The main reason for this are again multimodalities caused by faulty or delayed measurements, especially when entering or leaving rooms.
Within our experiments the problem occurred due to slow and attenuated Wi-Fi signals inside thick-walled rooms.
While the system's dynamics are moving the particles outside, the faulty Wi-Fi readings are holding back a majority by assigning corresponding weights.
@@ -53,7 +53,7 @@ Therefore, the average between the modes of the distribution is often closer to
With new measurements coming from the hallway or other parts of the building, the distribution and thus the estimation are able to recover.
Nevertheless, it could be seen that our approach is able to resolve multimodalities even under real world conditions.
It does not always provide the lowest error, since it depends more on an accurate sensor model then a weighted-average approach, but is very suitable as a good indicator about the real performance of a sensor fusion system.
It does not always provide the lowest error, since it depends more on an accurate sensor model than a weighted-average approach, but is very suitable as a good indicator about the real performance of a sensor fusion system.
At the end, in the here shown examples we only searched for a global maxima, even though the boxKDE approach opens a wide range of other possibilities for finding a best estimate.
%springt nicht so viel wie maximum