added identifyHazard

This commit is contained in:
Fennel Kora 2024-04-13 21:16:13 -04:00
parent 9d9daaf9d9
commit 4758ff07fa

View file

@ -16,5 +16,17 @@ public class RoadSensor {
return 45; 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;
}
} }