ucatie / CarND-Capstone

1 stars 5 forks source link

react on traffic waypoint event #2

Closed fscbr closed 7 years ago

fscbr commented 7 years ago

if a traffic waypoint has been received and its close, car has to stop. Waypoint list target velocities have to reflect slow down until the car stops in front of the traffic light. When to accelerate again? When the traffic waypoint message is not received anymore?

SebastianNi commented 7 years ago

traffic_waypoint contains just an integer value. This integer value is the index of the upcoming traffic light. The message should be send if the upcoming traffic light is yellow or red and the car is close enough to the traffic light . In case of green, no message should be send at all. The waypoint updater node determines if the distance to the traffic light is enough to stop the car or if it should keep on driving.