Shahar Erez
My feedback
3 results found
-
26 votes
An error occurred while saving the comment
Shahar Erez
supported this idea
·
-
3 votes
Shahar Erez
shared this idea
·
-
3,952 votes
Shahar Erez
supported this idea
·
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.")
}
}