oxedom / parker

Parking detection and monitoring webapp that runs entirely in the browser
https://parker-oxedoms-projects.vercel.app/
MIT License
140 stars 13 forks source link

Enhance/6 #11

Closed oxedom closed 1 year ago

oxedom commented 1 year ago

Added an 'event' property to the 'selectedRoi' object data structure. This property is an array that contains all the events associated with the selection. Currently, there are two types of events: 'occupation' and 'init'.

As well as changed logic for counting the cycles because a bug was found with how the counting occurred.

Added comments in the states code.

Renamed functions to more readable names