\newpage 
\section{SCRATCH}

\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black,colbacktitle=red!50,coltitle=black,title=TODO]
Here is still work to do...
\end{tcolorbox}


\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black,colbacktitle=red!50,coltitle=black,title=TODO]
Make simulations in MATLAB. Set C/D filter to compensate resonance and the current loop.\\
This sshould be mostly the inverse of the figures: \ref{fig:mot1_chirp} and \ref{fig:mot2_chirp}.\\
Use $K_{fff}$
\end{tcolorbox}



\begin{verbatim}
clear;
clear global;
close all;
[mot1,mot2]=identifyFxFyStage();
[pb]=simFxFyStage(mot1);sim('stage_closed_loop');
close all;[ssc]=StateSpaceControlDesign(mot1);sim('observer');
[pb]=simFxFyStage(mot2);sim('stage_closed_loop');
close all;[ssc]=StateSpaceControlDesign(mot2);sim('observer');

mögliche tf:
iqCmd---->iqMeas
iqVolts-->iqMeas
iqMeas--->actPos

identifyFxFyStage.m
controlSystemDesigner('bode',1,mot1.tf_py);    % <<<<<<<<< This opens a transferfunction that can be edited
\end{verbatim}

\begin{figure}[h!]
\center
\framebox[5cm]{\vtop{\vspace{2cm}\hbox{INSERT GRAPHICS}\vspace{2cm}}}
\framebox[5cm]{\vtop{\vspace{2cm}\hbox{INSERT GRAPHICS}\vspace{2cm}}}
%\includegraphics[scale=.7]{model4.eps} 
\caption{Motor 1 sim	Motor 2 sim}
\end{figure}



\newpage 
\section{shapepath}
\begin{verbatim}
Add section shapepath:
----------------------
TODO:
trajectory generation: trajectory.py
images of spiral motion:
with pvt motion ->
with pvt0 motion ->
with ift motion ->

TODO:
timing of motion
\end{verbatim}


\newpage 
\section{HelicalScan coordinates}


\begin{figure}[h!]
\includegraphics[scale=.4]{helicalscan1a.eps} 
\includegraphics[scale=.4]{helicalscan2a.eps} 
\includegraphics[scale=.4]{helicalscan3a.eps} 
\caption{coordinate transformation}
\end{figure}


%proces compiled as job \texttt{\jobname} from the file \texttt{\currfileabspath}\\
%\eject
%
%hyperref package sample
%\url{http://stackoverflow.com/questions/9845292/converting-matlab-to-python}\\
%
%fancyvrb package sample
%\begin{Verbatim}[frame=single]
%Verbatim Verbatim Verbatim
%Verbatim
%         Verbatim
%\end{Verbatim}
\newpage