Shahar Erez
My feedback
3 results found
-
17 votes
An error occurred while saving the comment Shahar Erez supported this idea · -
3 votesShahar Erez shared this idea ·
-
3,764 votesShahar Erez supported this idea ·
3 results found
I would add a loop that answers the following conditions
while (trafficAhead is <= (.33 * myCurrentSpeed) //maybe .5?
&&
trafficAheadIsOnSameRouteAsMine = true //so that it doesn't warn us for people on off-ramps, etc..
&&
trafficAhead >= 4 cars //so that it doesn't consider cars stopped on the shoulder as heavy traffic...
{
if (myLocation <= (trafficAhead - 1km) //give the warning when we're a kilometer away
{
Announce("Slow down. Heavy traffic ahead.")
}
}