Hello,
My scenario is I want to detect if 2 trucks stopped close within a buffer for period of time and fire alert.
I am doing the following:
Initial Incident Detection:
- When a truck stops, initiate a single incident detector for that specific truck.
- Set the incident to end after a certain duration (e.g., 5 minutes) or if the truck starts moving again.
Buffer and Geofence:
- If the incident doesn't resolve within the specified time frame, create a buffer around the stopped truck's location.
- Add the buffer area as a geofence.
Ongoing Incident Check:
- Continuously monitor for ongoing incidents.
- If you receive an ongoing incident alert, check if any other truck is within the geofenced area.
This is the main Idea
I feel its very complicated as there is a lot of things to do. I am using 3 incident detector.
Any one have better idea