tpbarron / vehicle_optimization

Vehicle simulator to test algorithms for traffic optimization.
1 stars 0 forks source link

update HazardModule relevant hazard check to check which road not just general location #55

Open tpbarron opened 9 years ago

tpbarron commented 9 years ago

Need to have the hazard module check which road the hazards are on and the expected route. One could think of a scenario where there is a road directly in front of the vehicle but it is not going to be traveled on. If the vehicle is going on the asterisks it will see the hyphened road and the hazard (X) but won't pass over it.

-----X---------


 *
 *
 *