Mettre à jour 'conception/th_sendImageAndPosition.txt'

This commit is contained in:
Jean-Remy Hok 2021-04-06 14:35:56 +02:00
parent 721ecb61f5
commit 445627ec03
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,21 @@
@startuml
skinparam monochrome true
start
:start_period(100 ms);
while ()
:wait_next_period();
if(shouldSendImage)then(true)
:Img image=camera.Grab();
if (shouldComputePosition)then(true)
:Position position=image.SearchRobot();
:image.DrawRobot(position);
endif
if (arena)then(null)
else
:image.DrawArena(arena);
endif
:messageToMon!image;
endif
endwhile
stop
@enduml