Skip to content
Snippets Groups Projects
Commit 11b3942f authored by Noel Dan Le's avatar Noel Dan Le
Browse files

Added Use case diagram

parent 38bb6150
Branches
No related merge requests found
...@@ -24,6 +24,10 @@ ...@@ -24,6 +24,10 @@
\DeclareFieldFormat{labelalpha}{\thefield{entrykey}} \DeclareFieldFormat{labelalpha}{\thefield{entrykey}}
\DeclareFieldFormat{extraalpha}{} \DeclareFieldFormat{extraalpha}{}
%%% USE CASE DIAGRAM %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{ifthen, tikz, xstring, calc, pgfopts} % required for tikz-uml
\usepackage{../tikz-uml}
%%% SETTINGS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% SETTINGS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{parskip} % makes end of paragraphs use an empty line \usepackage{parskip} % makes end of paragraphs use an empty line
\setlength\parindent{0pt} % no indentation \setlength\parindent{0pt} % no indentation
...@@ -36,7 +40,6 @@ ...@@ -36,7 +40,6 @@
\newcommand{\tabHead}[1]{\parbox{0.14\textwidth}{\medskip\textbf{#1}\medskip}} \newcommand{\tabHead}[1]{\parbox{0.14\textwidth}{\medskip\textbf{#1}\medskip}}
\newcommand{\tabBody}[1]{\parbox{0.81\textwidth}{\medskip #1 \medskip}} \newcommand{\tabBody}[1]{\parbox{0.81\textwidth}{\medskip #1 \medskip}}
%%% META INFORMATION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% META INFORMATION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{Hochautomatisiertes Fahren} \title{Hochautomatisiertes Fahren}
\subtitle{Lastenheft} \subtitle{Lastenheft}
...@@ -232,7 +235,44 @@ Störungen, wird immer ein Emergency-Stop durchgeführt.\\[1.5ex] ...@@ -232,7 +235,44 @@ Störungen, wird immer ein Emergency-Stop durchgeführt.\\[1.5ex]
\section{Use-Cases} \section{Use-Cases}
%TO DO mit tikz: Hier könnte noch ein UC-Diagram mit allen UC stehen \begin{tikzpicture}
\begin{umlsystem}[x=4, y=0]{CACC/Platooning}
\umlusecase[y=-4.5, width=25mm]{\nameref{UC:showStatus}}
\umlusecase[y=-0.5, width=20mm]{\nameref{UC:createPlatoon}}
\umlusecase[x=5, y=-6, width=20mm]{\nameref{UC:runPlatoon}}
\umlusecase[x=5, y=-9, width=20mm]{\nameref{UC:joinPlatoon}}
\umlusecase[x=5, y=-12, width=20mm]{\nameref{UC:leavePlatoon}}
\umlusecase[x=5, y=-3, width=20mm]{\nameref{UC:deletePlatoon}}
\umlusecase[x=4, width=20mm]{\nameref{UC:laneKeeping}}
\end{umlsystem}
\umlactor[y=-2]{Operator}
\umlactor[x=14, y=-4.5]{LV}
\umlactor[x=14, y=-7.5]{FV}
\umlactor[x=14, y=-10.5]{PFV}
\umlactor[x=14]{GV}
\umlHVHinherit[arm2=15mm]{LV}{GV}
\umlHVHinherit[arm2=15mm]{FV}{GV}
\umlHVHinherit[arm2=15mm]{PFV}{GV}
\umlassoc{Operator}{usecase-1}
\umlassoc{Operator}{usecase-2}
\umlHVHassoc[arm2=5mm]{LV}{usecase-1}
\umlassoc{LV}{usecase-3}
\umlassoc{LV}{usecase-4}
\umlassoc{LV}{usecase-5}
\umlassoc{LV}{usecase-6}
\umlHVHassoc[arm2=0mm]{FV}{usecase-1}
\umlassoc{FV}{usecase-3}
\umlassoc{FV}{usecase-4}
\umlassoc{FV}{usecase-5}
\umlassoc{FV}{usecase-6}
\umlHVHassoc[arm2=-5mm]{PFV}{usecase-1}
\umlassoc{PFV}{usecase-4}
\umlassoc{PFV}{usecase-5}
\umlassoc{GV}{usecase-7}
\umlinclude{usecase-1}{usecase-2}
\end{tikzpicture}
%TO DO Reihenfolge ändern ??? %TO DO Reihenfolge ändern ???
......
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment