-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bus took alternative road, missed the planned route path and missed stop - TC still produced predictions and didn't drop autoassignment #260
Comments
Hi Wojciech, This is an area I am interesting in particularly as it involves disruption to normal behavior. So, there are a number of current options to consider here. The first would be the setting for the number of bad matches that are allowed before a vehicle is made unpredictable. This will be influenced by frequency of the AVL feed. How frequently are you reading the data from Traccar? If it was off route for less than (allowableNumberOfBadMatches * polling frequency) then it will remain predictable. transitime/transitclock/src/main/java/org/transitclock/configData/CoreConfig.java Lines 193 to 198 in 05ca94e
The other options to consider are the spatial criteria for a bad match. In your case this one may help. transitime/transitclock/src/main/java/org/transitclock/configData/CoreConfig.java Lines 168 to 182 in 05ca94e
Also, be aware that these distance criteria can be set more specifically for different routes on the network. Hope this helps. Cheers, Sean. |
Hi @scrudden thanks for the clear explanation. "Also, be aware that these distance criteria can be set more specifically for different routes on the network." This configuration variable is |
Expected functionality
When bus diverts from the planned route, misses a stop and follows an alternative road, TC should drop the autoassigner.
Describe the bug
Bus took an alternative road, missing planned route and missing a planned stop - TC kept auto-assigner and thus produced prediction uninterruptedly. The stop was approx. 400m away from the path that the bus took. The diversion took approx 1:30mins after which the bus continued on the planned route path (bus after following an alternative road, reconnected with the route path) and perhaps that was too little time for TC to drop the autoassignment ?
Screenshots
Blue arrows show the alternative path that the bus followed, while red arrows show the route path, that the bus should take along with stop that was missed by the bus.
Version:
Newest version of transitime/transitclock and transitclock docker.
Configuration:
traccar data as AVL and auto-assigner enabled
The text was updated successfully, but these errors were encountered: