started with requirements
authorMart Lubbers <mart@martlubbers.net>
Thu, 26 Nov 2015 13:47:35 +0000 (14:47 +0100)
committerMart Lubbers <mart@martlubbers.net>
Thu, 26 Nov 2015 13:47:35 +0000 (14:47 +0100)
marsrover/document/preamble.tex
marsrover/document/req.tex

index 6910214..71ce7a5 100644 (file)
@@ -1,10 +1,12 @@
 \documentclass{article}
 
+\usepackage[dvipdfm]{hyperref} % For a clickable toc and nice autorefs
 \usepackage{a4wide} % For not wasting space on a4
+\usepackage{booktabs} % For nicer looking tables
 \usepackage{fancyhdr} % For the fancy header with our names
+\usepackage{longtable} % For page spanning tables
 \usepackage{multirow} % For multirow tables
-\usepackage{booktabs} % For nicer looking tables
-\usepackage[dvipdfm]{hyperref} % For a clickable toc and nice autorefs
+\usepackage{tabu} % For nicer automatic spanning tables
 
 \title{MarsRover proposal}
 \author{Natanael Adityasatria (s4417992)\and Mart Lubbers (s4109503)}
index b629dab..30264bf 100644 (file)
@@ -1 +1,45 @@
 \section{Requirements}
+\begin{longtabu}to \linewidth{llX}
+       \toprule 
+       \rowfont\bfseries Code & Priority & Description\\
+       \midrule
+       \endhead%
+       \\\midrule
+       \multicolumn{3}{c}{\ldots}\\
+       \bottomrule
+       \endfoot%
+       \\ \bottomrule
+       \endlastfoot%
+
+       \multicolumn{3}{l}{Functional requirements}\\
+       \midrule\midrule
+       CR1\phantomsection\label{req:cr1} & \textsc{M} &
+               Do not fall of the planet.\\
+       MR1\phantomsection\label{req:mr1} & \textsc{M} &
+               Find and identify lakes by the color.\\
+       MR2\phantomsection\label{req:mr2} & \textsc{M} &
+               Find rocks.\\
+       MR3\phantomsection\label{req:mr3} & \textsc{M} &
+               Avoid rocks.\\
+       MR4\phantomsection\label{req:mr4} & \textsc{M} &
+               Measure rocks and lakes.\\
+       MR5\phantomsection\label{req:mr5} & \textsc{M} &
+               Push away rocks.\\
+       MR6\phantomsection\label{req:mr5} & \textsc{M} &
+               Be able to perform multiple missions in sequence.\\
+       MR7\phantomsection\label{req:mr6} & \textsc{S} &
+               Park robot in a garage.\\
+       MR8\phantomsection\label{req:mr7} & \textsc{S} &
+               Remember where the lakes are after ther robot found them.\\
+       ER1\phantomsection\label{req:er1} & \textsc{C} &
+               SLAM\footnote{Simultaneous localization and mapping} and be able to
+               navigate with the map.\\
+       ER2\phantomsection\label{req:er2} & \textsc{C} &
+               Sounds playing to notify the viewers.\\
+       \midrule
+
+       \multicolumn{3}{l}{Non-functional requirements}\\
+       ER2\phantomsection\label{req:er2} & \textsc{C} &
+               Sounds playing to notify the viewers.\\
+       \midrule\midrule
+\end{longtabu}