if car is Close
or TL is red
slow down
Move with 0% of your standard speed.
Rule 2
if car is Middle
or TL is green
keep middle speed
Move with 50% of your standard speed.
Rule 3
if car is Far
or TL is orange
speed up
Move with 100% of your standard speed.
^
Distance
color
percentage of speed