From 32f9817f3933b3ca4819907a6838e47bcbd1ebc1 Mon Sep 17 00:00:00 2001 From: Yohan Simard Date: Tue, 6 Apr 2021 14:49:42 +0200 Subject: [PATCH] add plantUML for th_searchArena --- conception/th_searchArena.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/conception/th_searchArena.txt b/conception/th_searchArena.txt index e69de29..fe5c044 100644 --- a/conception/th_searchArena.txt +++ b/conception/th_searchArena.txt @@ -0,0 +1,25 @@ +@startuml +skinparam monochrome true +start +while () + :searchArena?; + :shouldSendImage = false; + :Img img = camera.Grab(); + :arena = img.SearchArena(); + if (arena) then (nullptr) + :msg = new Message(MESSAGE_ANSWER_NACK); + :messageToMonitor!msg; + else () + :img = img.DrawArena(arena); + :msg = new MessageImg(MESSAGE_CAM_IMAGE, img); + :messageToMon!msg; + :validateArena?arenaOk; + if (arenaOk) then (false) + :arena = nullptr; + else (true) + endif; + endif; + :shouldSendImg = true; +end while; +stop +@enduml