very-dumb/conception/th_sendBatteryLevel.txt

15 lines
235 B
Text

@startuml
skinparam monochrome true
start
:start_period(500 ms);
while ()
:wait_next_period();
if(robotStarted)then(true)
:msgSend=robot.Write(robot.getBattery());
:messageToMon!msgSend;
endif
endwhile
stop
@enduml