From 74a610db338a65f9df045f0385f490ae2bde27e6 Mon Sep 17 00:00:00 2001 From: Yohan Simard Date: Tue, 6 Apr 2021 14:25:44 +0200 Subject: [PATCH] add manageCamera plantUML --- conception/th_manageCamera.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 conception/th_manageCamera.txt diff --git a/conception/th_manageCamera.txt b/conception/th_manageCamera.txt new file mode 100644 index 0000000..7291617 --- /dev/null +++ b/conception/th_manageCamera.txt @@ -0,0 +1,19 @@ +@startuml +skinparam monochrome true +start +while () + :startCamera?; + :bool success = camera.start(); + if (success) then (false) + :msg = new Message(MESSAGE_ANSWER_NACK); + :messageToMonitor!msg; + else (true) + :shouldSendImage = true; + :stopCamera?; + :shouldSendImage = false; + :camera.Stop(); + endif; +end while; +stop +@enduml +