Changes between Version 4 and Version 5 of CameraControllerspec
- Timestamp:
- 03/28/2020 12:16:27 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CameraControllerspec
v4 v5 15 15 Data Sources 16 16 1. `cptms/data_layers/cctv_locations_D12.gson` is a static file containing the filename and locationName (among other things) for all the CCTV cameras. 17 1. `cptms/images/CCTV` folder contains all camera images. The route name is the second field of the filename. The traffic speed is the last field in the filename. E.g. `12-005-CCTV-0084-slow.jpg` is camera 84 on route 5 for slow traffic. 17 18 1. `webapps/dynamicdata/highway_status.json` is updated every 30 seconds with traffic flow. The camera display controller reads this file every 30 seconds and obtains the "color" property for each camera currently being displayed. It then chooses the corresponding image to display from the `cptms/images` folder. lime = freeflow, yellow = slow, red = stopped. 18 19
