Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Ebbrecht committed Aug 19, 2020
1 parent 16cde04 commit 038451d
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 18 deletions.
3 changes: 2 additions & 1 deletion ros_ws/toad.functions
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,8 @@ function toadTelemetryReport {
echo " done"

printf "Compiling report, please wait ..."
cd $REPORTTARGET && pdflatex report.tex > /dev/null 2>&1
#cd $REPORTTARGET && pdflatex report.tex > /dev/null 2>&1
cd $REPORTTARGET && pdflatex report.tex
echo " done"
echo
echo "Report created at $REPORTTARGET/report.pdf"
Expand Down
118 changes: 101 additions & 17 deletions templates/tex/section.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,91 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $m$, ylabel=\footnotesize $\frac{m}{s}$,
xtick distance=___PH_DIVD___,
xmin=1]
]

\addplot[smooth,red,solid] table [y=speed,x=distance]{___PH_FILENAME___.dat};
\addlegendentry{___PH_TITLE___ $v_{cur}(d)$}

\end{axis}
\end{tikzpicture}
\caption \sffamily \textbf{___PH_TITLE___:} Geschwindigkeit $v$ nach Distanz $d$ - ___PH_SIZE___ Werte
\end{figure}

\begin{figure}[H]
\center
\begin{tikzpicture}
\begin{axis}[width=0.7\textwidth, height=0.35\paperheight, scaled ticks=true, tick label style={/pgf/number format/fixed, font=\footnotesize},
%axis lines=middle,
%ymode=log,
%ymin=0,
xlabel=\footnotesize $m$, ylabel=\footnotesize $\frac{m}{s}$,
xtick distance=___PH_DIVD___,
]

\addplot[smooth,red,solid,each nth point=___PH_SMOOTH___, filter discard warning=false, unbounded coords=discard] table [y=speed,x=distance]{___PH_FILENAME___.dat};
\addlegendentry{___PH_TITLE___ $v_{cur}(d)$}

\end{axis}
\end{tikzpicture}
\caption \sffamily \textbf{___PH_TITLE___:} Geschwindigkeit $v$ nach Distanz $d$ - ___PH_SIZE___ Werte, Glättung ___PH_SMOOTH___
\end{figure}



\begin{figure}[H]
\center
\begin{tikzpicture}
\begin{axis}[width=0.7\textwidth, height=0.35\paperheight, scaled ticks=true, tick label style={/pgf/number format/fixed, font=\footnotesize},
%axis lines=middle,
ymode=log,
%ymin=0,
xlabel=\footnotesize $m$, ylabel=\footnotesize $\frac{m}{s}$,
xtick distance=___PH_DIVD___,
]

\addplot[smooth,red,solid] table [y=speed,x=distance]{___PH_FILENAME___.dat};
\addplot[smooth,blue,solid] table [y=maxspeed,x=distance]{___PH_FILENAME___.dat};
\addlegendentry{___PH_TITLE___ $v_{cur}(d)$}
\addlegendentry{___PH_TITLE___ $v_{max}(d)$}

\end{axis}
\end{tikzpicture}
\caption \sffamily \textbf{___PH_TITLE___:} Geschwindigkeit $v$ nach Distanz $d$ - ___PH_SIZE___ Werte (logarithmisch)
\end{figure}

\begin{figure}[H]
\center
\begin{tikzpicture}
\begin{axis}[width=0.7\textwidth, height=0.35\paperheight, scaled ticks=true, tick label style={/pgf/number format/fixed, font=\footnotesize},
%axis lines=middle,
ymode=log,
%ymin=0,
xlabel=\footnotesize $m$, ylabel=\footnotesize $\frac{m}{s}$,
xtick distance=___PH_DIVD___,
]

\addplot[smooth,red,solid,each nth point=___PH_SMOOTH___, filter discard warning=false, unbounded coords=discard] table [y=speed,x=distance]{___PH_FILENAME___.dat};
\addplot[smooth,blue,solid,each nth point=___PH_SMOOTH___, filter discard warning=false, unbounded coords=discard] table [y=maxspeed,x=distance]{___PH_FILENAME___.dat};
\addlegendentry{___PH_TITLE___ $v_{cur}(d)$}
\addlegendentry{___PH_TITLE___ $v_{max}(d)$}

\end{axis}
\end{tikzpicture}
\caption \sffamily \textbf{___PH_TITLE___:} Geschwindigkeit $v$ nach Distanz $d$ - ___PH_SIZE___ Werte (logarithmisch), Glättung ___PH_SMOOTH___
\end{figure}



\begin{figure}[H]
\center
\begin{tikzpicture}
\begin{axis}[width=0.7\textwidth, height=0.35\paperheight, scaled ticks=true, tick label style={/pgf/number format/fixed, font=\footnotesize},
%axis lines=middle,
%ymode=log,
%ymin=0,
xlabel=\footnotesize $m$, ylabel=\footnotesize $\frac{m}{s}$,
xtick distance=___PH_DIVD___,
]

\addplot[smooth,red,solid] table [y=speed,x=distance]{___PH_FILENAME___.dat};
\addplot[smooth,blue,solid] table [y=maxspeed,x=distance]{___PH_FILENAME___.dat};
Expand All @@ -30,7 +114,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $m$, ylabel=\footnotesize $\frac{m}{s}$,
xtick distance=___PH_DIVD___,
xmin=1]
]

\addplot[smooth,red,solid,each nth point=___PH_SMOOTH___, filter discard warning=false, unbounded coords=discard] table [y=speed,x=distance]{___PH_FILENAME___.dat};
\addplot[smooth,blue,solid,each nth point=___PH_SMOOTH___, filter discard warning=false, unbounded coords=discard] table [y=maxspeed,x=distance]{___PH_FILENAME___.dat};
Expand All @@ -53,7 +137,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $s$, ylabel=\footnotesize $\frac{m}{s}$,
xtick distance=___PH_DIVT___,
xmin=1]
]

\addplot[smooth,red,solid] table [y=speed,x=time]{___PH_FILENAME___.dat};
\addplot[smooth,blue,solid] table [y=maxspeed,x=time]{___PH_FILENAME___.dat};
Expand All @@ -74,7 +158,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $s$, ylabel=\footnotesize $\frac{m}{s}$,
xtick distance=___PH_DIVT___,
xmin=1]
]

\addplot[smooth,red,solid,each nth point=___PH_SMOOTH___, filter discard warning=false, unbounded coords=discard] table [y=speed,x=time]{___PH_FILENAME___.dat};
\addplot[smooth,blue,solid,each nth point=___PH_SMOOTH___, filter discard warning=false, unbounded coords=discard] table [y=maxspeed,x=time]{___PH_FILENAME___.dat};
Expand All @@ -97,7 +181,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $m$, ylabel=\footnotesize $\frac{m}{s^2}$,
xtick distance=___PH_DIVD___,
xmin=1]
]

\addplot[smooth,red,solid] table [y=acceleration,x=distance]{___PH_FILENAME___.dat};
\addlegendentry{___PH_TITLE___ $a(d)$}
Expand All @@ -116,7 +200,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $m$, ylabel=\footnotesize $\frac{m}{s^2}$,
xtick distance=___PH_DIVD___,
xmin=1]
]

\addplot[smooth,red,solid,each nth point=___PH_SMOOTH___, filter discard warning=false, unbounded coords=discard] table [y=acceleration,x=distance]{___PH_FILENAME___.dat};
\addlegendentry{___PH_TITLE___ $a(d)$}
Expand All @@ -137,7 +221,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $s$, ylabel=\footnotesize $\frac{m}{s^2}$,
xtick distance=___PH_DIVT___,
xmin=1]
]

\addplot[smooth,red,solid] table [y=acceleration,x=time]{___PH_FILENAME___.dat};
\addlegendentry{___PH_TITLE___ $a(t)$}
Expand All @@ -156,7 +240,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $s$, ylabel=\footnotesize $\frac{m}{s^2}$,
xtick distance=___PH_DIVT___,
xmin=1]
]

\addplot[smooth,red,solid,each nth point=___PH_SMOOTH___, filter discard warning=false, unbounded coords=discard] table [y=acceleration,x=time]{___PH_FILENAME___.dat};
\addlegendentry{___PH_TITLE___ $a(t)$}
Expand All @@ -177,7 +261,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $m$, ylabel=\footnotesize $\frac{m}{s}$,
xtick distance=___PH_DIVD___,
xmin=1]
]

\addplot[smooth,red,solid] table [y=speeddelta,x=distance]{___PH_FILENAME___.dat};
\addplot[smooth,blue,solid] table [y=angle,x=distance]{___PH_FILENAME___.dat};
Expand All @@ -198,7 +282,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $m$, ylabel=\footnotesize $\frac{m}{s}$,
xtick distance=___PH_DIVD___,
xmin=1]
]

\addplot[smooth,red,solid,each nth point=___PH_SMOOTH___, filter discard warning=false, unbounded coords=discard] table [y=speeddelta,x=distance]{___PH_FILENAME___.dat};
\addplot[smooth,blue,solid] table [y=angle,x=distance]{___PH_FILENAME___.dat};
Expand All @@ -221,7 +305,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $s$, ylabel=\footnotesize $\frac{m}{s}$,
xtick distance=___PH_DIVT___,
xmin=1]
]

\addplot[smooth,red,solid] table [y=speeddelta,x=time]{___PH_FILENAME___.dat};
\addplot[smooth,blue,solid] table [y=angle,x=time]{___PH_FILENAME___.dat};
Expand All @@ -242,7 +326,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $s$, ylabel=\footnotesize $\frac{m}{s}$,
xtick distance=___PH_DIVT___,
xmin=1]
]

\addplot[smooth,red,solid,each nth point=___PH_SMOOTH___, filter discard warning=false, unbounded coords=discard] table [y=speeddelta,x=time]{___PH_FILENAME___.dat};
\addplot[smooth,blue,solid] table [y=angle,x=time]{___PH_FILENAME___.dat};
Expand All @@ -265,7 +349,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $m$, ylabel=\footnotesize $\frac{m}{s^2}$,
xtick distance=___PH_DIVD___,
xmin=1]
]

\addplot[smooth,red,solid] table [y=acceleration,x=distance]{___PH_FILENAME___.dat};
\addplot[smooth,blue,solid] table [y=angle,x=distance]{___PH_FILENAME___.dat};
Expand All @@ -286,7 +370,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $m$, ylabel=\footnotesize $\frac{m}{s^2}$,
xtick distance=___PH_DIVD___,
xmin=1]
]

\addplot[smooth,red,solid,each nth point=___PH_SMOOTH___, filter discard warning=false, unbounded coords=discard] table [y=acceleration,x=distance]{___PH_FILENAME___.dat};
\addplot[smooth,blue,solid] table [y=angle,x=distance]{___PH_FILENAME___.dat};
Expand All @@ -309,7 +393,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $s$, ylabel=\footnotesize $\frac{m}{s^2}$,
xtick distance=___PH_DIVT___,
xmin=1]
]

\addplot[smooth,red,solid] table [y=acceleration,x=time]{___PH_FILENAME___.dat};
\addplot[smooth,blue,solid] table [y=angle,x=time]{___PH_FILENAME___.dat};
Expand All @@ -330,7 +414,7 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
%ymin=0,
xlabel=\footnotesize $s$, ylabel=\footnotesize $\frac{m}{s^2}$,
xtick distance=___PH_DIVT___,
xmin=1]
]

\addplot[smooth,red,solid,each nth point=___PH_SMOOTH___, filter discard warning=false, unbounded coords=discard] table [y=acceleration,x=time]{___PH_FILENAME___.dat};
\addplot[smooth,blue,solid] table [y=angle,x=time]{___PH_FILENAME___.dat};
Expand All @@ -342,4 +426,4 @@ \section{Auswertung ___PH_DESC___ - ___PH_SIZE___}
\caption \sffamily \textbf{___PH_TITLE___:} Beschleunigung $a$ nach Zeit $t$ und Lenkwinkel $\psi$ - ___PH_SIZE___ Werte, Glättung ___PH_SMOOTH___
\end{figure}

%\newpage
%\newpage

0 comments on commit 038451d

Please sign in to comment.