Objective
Driver reporting time is used in the system to cross verify when the driver picked up the desired employee. This logic is further used to calculated the OTA and OTD delays.
Current process
Driver reporting time is calculated currently by backtracking from the employee’s actual sign in time and location to the configured distance, radius and speed values.
Below is the detailed explanation:
There are three main rules for calculating the driver's reporting time:
We track the driver's location starting from the employee's actual pickup point & time and move backward minute by minute in time.
Step-by-step check:
Every minute, we check the driver's speed.
If the driver is moving faster than 5 km/h, we skip that minute for calculating the reporting time.
If the speed is less than 5 km/h, we check if the driver is within a set radius (called OTA Geofence Radius).
If the driver is outside this radius, we stop considering that time for reporting.
We stop this process when:
The driver has covered more than 400 meters (Configurable) of distance in total (we stop backtracking).
OR, if we've backtracked up to 30 minutes (OFF_DUTY_LOCATIONS_TIME_IN_MINUTES_BEFORE_TRIP_START_TIME ( ETS Property)) before the trip start time (this is the maximum time we check).
In Case of “No-show”:
The whole logic takes the no-show time and location as the reference and runs all the back-tracking calculations from there as explained above.
How does the no- show case affect the OTA?
If employee whose no-show is marked within the proximity of an ETS property (DASHBOARD_TRACKING_OFFICE_PREMISES_METERS) then in that case we will consider the DRT from the no_show employees table otherwise we will skip to the next employee's DRT.
In case of “Two or more employees planned from the same pickup address”:
If the driver reported to the address location and didn’t change his location between the pickup of emp A or emp B. Then, after the actual sign in of both employees the backtracking will result in the same DRT.
If the driver picked up both the employees with some variation of location between the pickups, then the DRT of both the employees might change.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article