added new gfx (path2 compare)

This commit is contained in:
kazu
2016-05-09 16:07:47 +02:00
parent 5a3677e139
commit 7789adf6d5
6 changed files with 9186 additions and 13 deletions

View File

@@ -120,7 +120,7 @@
% gfx include folder
\graphicspath{ {gfx/baro/},{gfx/graph/},{gfx/paths/},{gfx/eval/},{gfx/},{gfx/grid/},{gfx/activity/},{gfx/eval/interval_path4_comp/},{gfx/eval/interval_path3_bad/},{gfx/particles/}, {gfx/eval/lag_path4_error/}, {gfx/eval/interval_path3_good/}, {gfx/eval/interval_path2_good/}, {gfx/eval/interval_path2_bad/}}
\graphicspath{ {gfx/baro/},{gfx/graph/},{gfx/paths/},{gfx/eval/},{gfx/},{gfx/grid/},{gfx/activity/},{gfx/eval/interval_path4_comp/},{gfx/eval/interval_path3_bad/},{gfx/particles/}, {gfx/eval/lag_path4_error/}, {gfx/eval/interval_path3_good/}, {gfx/eval/interval_path2_good/}, {gfx/eval/interval_path2_bad/}, {gfx/eval/interval_path2_compare/}}
% correct bad hyphenation here

View File

@@ -103,18 +103,20 @@ The estimation of BS looks way more realistic and adapts better to the ground tr
%For example \SI{50}{} particles and \SI{25}{} sample realisations are providing reliable estimations similar to above experiments, though the risk of losing track is higher.
\begin{figure}
\begin{subfigure}{0.175\textwidth}
\input{gfx/eval/interval_path2_good/path2_interval_good}
\caption{}
\label{fig:int_path2_a}
\end{subfigure}
\begin{subfigure}{0.175\textwidth}
\input{gfx/eval/interval_path2_bad/path2_interval}
\caption{}
\label{fig:int_path2_b}
\end{subfigure}
\caption{a) Exemplary results for path 2 where BS (blue) and filtering (green) using 2500 particles and 500 sample realisations. b) A situation where BS smoothing was not able to improve the filtering results. Two main factors are causing this: an initial position within a detached room and inaccurate pressure readings given by the Galaxy S5.}
\label{fig:int_path3_comp}
%\begin{subfigure}{0.175\textwidth}
% \input{gfx/eval/interval_path2_good/path2_interval_good}
% \caption{}
% \label{fig:int_path2_a}
%\end{subfigure}
%\begin{subfigure}{0.175\textwidth}
% \input{gfx/eval/interval_path2_bad/path2_interval}
% \caption{}
% \label{fig:int_path2_b}
%\end{subfigure}
%\caption{a) Exemplary results for path 2 where BS (blue) and filtering (green) using 2500 particles and 500 sample realisations. b) A situation where BS smoothing was not able to improve the filtering results. Two main factors are causing this: an initial position within a detached room and inaccurate pressure readings given by the Galaxy S5.}
\input{gfx/eval/interval_path2_compare/path2_interval_compare}
\caption{left) Exemplary results for path 2 where BS (blue) and filtering (green) using 2500 particles and 500 sample realisations. right) A situation where BS smoothing was not able to improve the filtering results. Two main factors are causing this: an initial position within a detached room and inaccurate pressure readings given by the Galaxy S5.}
\label{fig:int_path2_comp}
\end{figure}
Despite the very good outcomes provided by both interval smoother, there are some rare situations in which smoothing does not improve the filtered estimation or even improves the visual path.
For example fig. \ref{fig:int_path3_b} depicts such a situation for path 3 using BS and measurements provided by the Galaxy S5.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,103 @@
% GNUPLOT: LaTeX picture with Postscript
\begingroup
\makeatletter
\providecommand\color[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package color not loaded in conjunction with
terminal option `colourtext'%
}{See the gnuplot documentation for explanation.%
}{Either use 'blacktext' in gnuplot or load the package
color.sty in LaTeX.}%
\renewcommand\color[2][]{}%
}%
\providecommand\includegraphics[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package graphicx or graphics not loaded%
}{See the gnuplot documentation for explanation.%
}{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
\renewcommand\includegraphics[2][]{}%
}%
\providecommand\rotatebox[2]{#2}%
\@ifundefined{ifGPcolor}{%
\newif\ifGPcolor
\GPcolorfalse
}{}%
\@ifundefined{ifGPblacktext}{%
\newif\ifGPblacktext
\GPblacktexttrue
}{}%
% define a \g@addto@macro without @ in the name:
\let\gplgaddtomacro\g@addto@macro
% define empty templates for all commands taking text:
\gdef\gplbacktext{}%
\gdef\gplfronttext{}%
\makeatother
\ifGPblacktext
% no textcolor at all
\def\colorrgb#1{}%
\def\colorgray#1{}%
\else
% gray or color?
\ifGPcolor
\def\colorrgb#1{\color[rgb]{#1}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
\expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
\expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
\expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
\expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
\expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
\expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
\expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
\expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
\else
% gray
\def\colorrgb#1{\color{black}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color{black}}%
\expandafter\def\csname LT1\endcsname{\color{black}}%
\expandafter\def\csname LT2\endcsname{\color{black}}%
\expandafter\def\csname LT3\endcsname{\color{black}}%
\expandafter\def\csname LT4\endcsname{\color{black}}%
\expandafter\def\csname LT5\endcsname{\color{black}}%
\expandafter\def\csname LT6\endcsname{\color{black}}%
\expandafter\def\csname LT7\endcsname{\color{black}}%
\expandafter\def\csname LT8\endcsname{\color{black}}%
\fi
\fi
\setlength{\unitlength}{0.0500bp}%
\ifx\gptboxheight\undefined%
\newlength{\gptboxheight}%
\newlength{\gptboxwidth}%
\newsavebox{\gptboxtext}%
\fi%
\setlength{\fboxrule}{0.5pt}%
\setlength{\fboxsep}{1pt}%
\begin{picture}(4896.00,2014.00)%
\gplgaddtomacro\gplbacktext{%
}%
\gplgaddtomacro\gplfronttext{%
}%
\gplgaddtomacro\gplbacktext{%
}%
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%
\put(1508,132){\makebox(0,0)[r]{\strut{}\footnotesize{filtered}}}%
\csname LTb\endcsname%
\put(4013,132){\makebox(0,0)[r]{\strut{}\footnotesize{smoothed (BS)}}}%
\csname LTb\endcsname%
\put(1508,132){\makebox(0,0)[r]{\strut{}\footnotesize{filtered}}}%
\csname LTb\endcsname%
\put(4013,132){\makebox(0,0)[r]{\strut{}\footnotesize{smoothed (BS)}}}%
}%
\gplbacktext
\put(0,0){\includegraphics{path2_interval_compare}}%
\gplfronttext
\end{picture}%
\endgroup

View File

@@ -0,0 +1,38 @@
set terminal epslatex size 3.4,1.4
set output "path2_interval_compare.tex"
set termoption dashlength 0.5
set ticslevel 0
set view equal xy
set zrange [0:1300]
set xrange[0:5000]
set yrange[2500:5200]
set view 78,50
unset border
unset xtics
unset ytics
unset ztics
set multiplot layout 1,2 scale 2.45,2.45 offset -0.005,0.23
unset key
splot \
'floors.dat' notitle with lines lc rgb '#999999', \
'../interval_path2_good/path2.dat' notitle with lines lw 1.0 dashtype 2 lc rgb '#000000', \
'../interval_path2_good/BS/est_norm_bergwerk_path2_galaxy_simple_interval7.dat' skip 21 notitle with lines lw 1.0 lc rgb '#00FF00', \
'../interval_path2_good/BS/est_smooth_bergwerk_path2_galaxy_simple_interval7.dat' skip 21 notitle with lines lw 1.0 lc rgb '#0000FF'
set key at screen 0.9,0.12 opaque box samplen 0.5 width -7.0 maxrows 1
splot \
'floors.dat' notitle with lines lc rgb '#999999', \
'../interval_path2_bad/path2.dat' notitle with lines lw 1.0 dashtype 2 lc rgb '#000000', \
'../interval_path2_bad/BS/est_norm_bergwerk_path2_nexus_simple_interval7.dat' skip 21 title "\\footnotesize{filtered}" with lines lw 1.0 lc rgb '#00FF00', \
'../interval_path2_bad/BS/est_smooth_bergwerk_path2_nexus_simple_interval7.dat' skip 21 title "\\footnotesize{smoothed (BS)}" with lines lw 1.0 lc rgb '#0000FF'
#unset multiplot