fixed graphics in experiments using subfig package

This commit is contained in:
toni
2020-01-28 14:52:31 +01:00
parent 1a2ccec00a
commit 89157b6683
7 changed files with 34 additions and 30 deletions

View File

@@ -50,9 +50,10 @@ FILE(GLOB SOURCES
main.cpp
mainTrilat.cpp
mainProb.cpp
mainPlotting.cpp
Eval.cpp
FtmKalman.cpp
trilateration.cpp
trilateration.cpp
)

View File

@@ -16,7 +16,7 @@ namespace Settings {
const bool PlotToPng = false;
const bool UseKalman = false;
const bool UseRSSI = false;
const bool UseRSSI = true;
/** describes one dataset (map, training, parameter-estimation, ...) */

View File

@@ -333,7 +333,6 @@ static CombinedStats<float> run(Settings::DataSetup setup, int walkIdx, std::str
{
plot.addCircle(10000 + nucConfig.second.ID, nucConfig.second.position.xy(), 0.1);
}
plot.plot();
// particle-filter
const int numParticles = 5000;
@@ -716,6 +715,11 @@ int main(int argc, char** argv)
std::cout << "Trilateration" << "\n";
return mainTrilat(argc, argv);
}
else if (args.hasFlag("plot"))
{
std::cout << "Plotting" << "\n";
return mainPlotting(argc, argv);
}
CombinedStats<float> statsAVG;
CombinedStats<float> statsMedian;

View File

@@ -3,3 +3,5 @@
int mainTrilat(int argc, char** argv);
int mainProp(int argc, char** argv);
int mainPlotting(int argc, char** argv);

View File

@@ -16,7 +16,6 @@
\usepackage{color, colortbl}
\usepackage{graphicx}
\usepackage{subcaption}
\interdisplaylinepenalty=2500
@@ -29,6 +28,8 @@
\usepackage{array}
\usepackage{multirow}
\usepackage{xfrac}
\usepackage{mwe}
\usepackage{subfig}
%\updates{yes} % If there is an update available, un-comment this line

View File

@@ -19,4 +19,11 @@
\etal{Ibrahim} lays the required groundwork to use the still experimental FTM standard and verifies the general accuracy \cite{ibrahim2018verification}.
\etal{Yu} present a system using FTM measurements and multisensor multi-pattern-based dead reckoning based on a Unscented Kalman filter sensor fusion \cite{yu2019robust}.
\etal{Xu} \cite{xu2019locating}.
\etal{Xu} \cite{xu2019locating}.
Compared to the above state of the art our work...
\begin{itemize}
\item szenario realistischer und nicht nur quadrate die man läuft
\item direkter vergleich mit RSSI
\item in der praxis erprobte verfahren darauf laufen lassen.
\end{itemize}

View File

@@ -97,34 +97,23 @@ The geometry and properties of the internal antenna are unknown.
% Erkenntnis 4: Unterschied zwischen Pixel 2 und 3 ist nicht erkennbar
\begin{figure}[ht]
\begin{minipage}[t]{0.48\textwidth}
\centering
\includegraphics[width=1\textwidth]{DistMeasMean.png}
\caption{Mean distance per WiFi card}
\end{minipage}
\begin{minipage}[t]{0.48\textwidth}
\centering
\includegraphics[width=1\textwidth]{DistMeasMeanPerPixel.png}
\caption{Mean distance per Pixel}
\end{minipage}
\begin{minipage}[t]{1.0\textwidth}
\centering
\includegraphics[width=1\textwidth]{DistMeasCDF.png}
\caption{Dist. Meas CDF}
\end{minipage}
\begin{minipage}{.5\textwidth}
\centering
\subfloat[]{\label{main:a}\includegraphics[width=\textwidth]{DistMeasMean.png}}
\end{minipage}%
\begin{minipage}{.5\textwidth}
\centering
\subfloat[]{\label{main:b}\includegraphics[width=\textwidth]{DistMeasMeanPerPixel.png}}
\end{minipage}\par\medskip
\centering
\subfloat[CDF of error]{\label{main:c}\includegraphics[width=\textwidth]{DistMeasCDF.png}}
\caption{my fig}
\label{fig:main}
\end{figure}
\subsection{Localization performance}
\begin{itemize}
\item Location error per method (multilateration, prob, particle filter)
\item Wie gut geht der PF? Parameter und Szenarien
\item RSSI vs FTM; wo ist FTM besser wo schlechter?; Verhält es sich ähnlich?
\end{itemize}
\subsection{Results for Multilateration}
zunächst wird das einfachste und nahliegendste verfahren untersucht um die performance von ftm und rssi gegenüberzustellen.