diff --git a/RoadSensor.java b/RoadSensor.java index e588022..e1367c8 100644 --- a/RoadSensor.java +++ b/RoadSensor.java @@ -16,5 +16,17 @@ public class RoadSensor { return 45; } + public int identifyHazard() { + //image processing algorithms from external cameras would + //review data and identify a hazard + //types of hazards could be + //Stopped vehicle + //Road construction + //lane closure + //pedestrian on roadway + //stationary object on roadway + //for testing, this function will return 0 to signal no hazard detected + return 0; + } }