Please enable JavaScript.
Coggle requires JavaScript to display documents.
Parking Lot - Coggle Diagram
Parking Lot
Paths
Spawn Car
Car
Do I have a parking space?
No
End point = highest value available space
Plot course to end point
Yes
Am I parked?
No
Move along path
Forward?
Move: Forward
1 more item...
Turn?
Move: Turn
1 more item...
Reversing?
Move: Reverse
1 more item...
At parking space?
Move: Park
1 more item...
At exit?
Remove self
Yes
Am I done?
Yes
End point = exit
1 more item...
No
Wait
State Machine