Robot Flowchart With Bluetooth
Robot Flowchart With Bluetooth
Start
End of race
Timer
No
Has Robot
completed Lap?
Has Robot
completed 3 Laps?
Return
Movement
Timer
No
Count 1
Second
Timer
Yes
Movement
Display Time on
Robot Display.
Return Crash
Get Time
Check
Boundary
Store Time in
Times.txt
End of race
Yes
Check
Boundary
No
Movement
End
Return Time
Is Robot over red
line?
No
Has robot
detected green?
Yes
Yes
Set Speed 30
Set speed to
30
No
Return Crash
Has robot
detected white?
Yes
Set Speed to
60
Move Robot 1
rotations
No
Turn 90 degrees
clockwise
Turn 90 degrees
anticlockwise
Has robot
detected blue?
Return
Movement
Yes
Set speed to
100
Move robot 5
rotations
No