\documentclass[a4paper,11pt,bibliography=totoc,twoside]{scrbook}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ae}
\usepackage[ngerman,english]{babel}
\usepackage{hyperref,color,url,acronym,graphicx,makeidx,amsfonts}

% FIXME hyperref setup

\makeindex

\newcommand{\todo}[1]{\textcolor{red}{\index{Todo}\LARGE TODO:~#1}}
\newcommand{\definition}[1]{\textit{#1}\index{#1}} % FIXME: add to glossary?
\newcommand{\cmd}[1]{\texttt{#1}\index{#1}} % FIXME: add to glossary?
\newcommand{\magicnumber}[1]{\texttt{#1}}

% ignore output, but evaluate command with side-effects
\newsavebox{\trashbox}
\newcommand{\ignoreoutput}[1]{\setbox\trashbox\vbox{#1}}

\author{Roland Hieber}
\title{Error modeling of an autonomous, mobile robot}
% \date{July 9, 2011}

\begin{document}

\begin{titlepage}
  \vskip 60pt
  \makeatletter
  \begin{center}
    {\large Braunschweig University of Technology}\\
    {\large Institute of Operating Systems and Computer Networks}\\[2cm]
    {\large Bachelor Thesis}\\[2cm]
    {\LARGE \@title \par}
    \vskip 6em
    {\large by}\\[.5em]
    {\large \@author}\\[7em]
    {\large \bf Thesis Advisor:}\\[.5em]
    {\large Prof. Dr. S\'andor Fekete}\\
    \par
    \vfill
    {\large Braunschweig - \today}
  \end{center}
  \makeatother
%   \par
  % thanks?
\end{titlepage}
\cleardoublepage

\selectlanguage{ngerman}
\vspace*{7cm}
\centerline{\bf Erklärung}
\vspace*{1cm}
Ich versichere, die vorliegende Arbeit selbstständig und nur unter Benutzung
der angegebenen Hilfsmittel angefertigt zu haben.

\vspace*{3cm}
Braunschweig, den \today

\selectlanguage{english}
\pagestyle{headings}
\cleardoublepage

% \begin{abstract}
  \todo{abstract!!!}
% \end{abstract}

\tableofcontents
\cleardoublepage
\listoffigures
\cleardoublepage
% \listoftables
% \cleardoublepage
\chapter*{Table of Acronyms}
\begin{acronym}
 \acro{GNU}{GNU's Not Unix}
 \acro{GPS}{Global Positioning System}
 \acro{opcode}{operation code}
 \acro{ROI}{Roomba Open Interface}
 \acro{SVN}{Subversion}
 \acro{USB}{Universal Serial Bus}
\end{acronym}

\pagenumbering{arabic}
\pagestyle{headings}

% chapters
\input{introduction}
\input{preliminaries}
\input{experiment1}
\input{experiment2}
\input{experiment3}
\input{conclusion}
\input{implementation}

\addcontentsline{toc}{chapter}{Index}
\printindex

\bibliographystyle{alpha}
\bibliography{biblio}
\nocite{hacking-roomba}

\end{document}
