OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
navigation.appointment_journey.AppointmentJourneyPlanner Class Reference

Use injected destination resolution and non-mutating route estimates. More...

Public Member Functions

AppointmentJourney|None plan (self, datetime now, GeoPoint|None origin)
 Estimate the next appointment without starting guidance.
AppointmentJourney|None plan_event (self, CalendarEvent event, GeoPoint origin)
 Estimate the exact event already selected by the consumer.

Detailed Description

Use injected destination resolution and non-mutating route estimates.

Member Function Documentation

◆ plan()

AppointmentJourney | None navigation.appointment_journey.AppointmentJourneyPlanner.plan ( self,
datetime now,
GeoPoint | None origin )

Estimate the next appointment without starting guidance.

Parameters
nowCurrent timezone-aware time.
originCurrent position, or None when unavailable.
Returns
Journey when the destination and travel estimate are available.

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