Compare commits
2 commits
ef535ba57f
...
721ecb61f5
Author | SHA1 | Date | |
---|---|---|---|
721ecb61f5 | |||
74a610db33 |
1 changed files with 19 additions and 0 deletions
19
conception/th_manageCamera.txt
Normal file
19
conception/th_manageCamera.txt
Normal file
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue