OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
route_guidance.reroute_policy.ReroutePolicy Class Reference

Request rerouting only after a sustained off-route condition. More...

Public Member Functions

bool update (self, RouteGuidanceState state)
 Return True once when current state warrants a reroute request.
None reroute_completed (self)
 Clear pending state after a replacement route is installed.
None reroute_failed (self)
 Allow another attempt after cooldown if rerouting fails.
None reset (self)
 Reset all route-session-specific policy state.

Detailed Description

Request rerouting only after a sustained off-route condition.


The documentation for this class was generated from the following file:
  • controllers/route_guidance/reroute_policy.py