Skip to content
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

Electronic horizon #2834

Merged
merged 44 commits into from
Mar 16, 2021
Merged

Electronic horizon #2834

merged 44 commits into from
Mar 16, 2021

Commits on Mar 15, 2021

  1. Configuration menu
    Copy the full SHA
    526d005 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b5cb7a View commit details
    Browse the repository at this point in the history
  3. Add first stage of Swift wrappers

    chezzdev authored and 1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    4990204 View commit details
    Browse the repository at this point in the history
  4. Wrap GraphAccessor

    chezzdev authored and 1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    68a1380 View commit details
    Browse the repository at this point in the history
  5. Wrap RoadObjectsStore

    chezzdev authored and 1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    b560830 View commit details
    Browse the repository at this point in the history
  6. Adjust EHorizon observation

    chezzdev authored and 1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    4bf78db View commit details
    Browse the repository at this point in the history
  7. Add EHorizon options wrapper

    chezzdev authored and 1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    441369e View commit details
    Browse the repository at this point in the history
  8. Added EHorizonGraphPath

    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    e9e8c79 View commit details
    Browse the repository at this point in the history
  9. Deleted unused struct

    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    1971543 View commit details
    Browse the repository at this point in the history
  10. Inline object type when associated with metadata

    Replaced mutually exclusive properties with associated values. Deleted provider enumeration because it is sufficiently represented by the presence of an associated value.
    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    4134be7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    572cb5e View commit details
    Browse the repository at this point in the history
  12. Reuse Mapbox Streets road classifications

    Reuse Mapbox Streets road classifications for consistency with the Directions API.
    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    7ebc469 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2050276 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b4a308c View commit details
    Browse the repository at this point in the history
  15. Removed user-defined road object interface

    Removed the unimplemented interface for adding and removing user-defined road objects but retained the corresponding type enumeration cases for future use.
    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    7677235 View commit details
    Browse the repository at this point in the history
  16. Added property for e-horizon configuration

    Replaced the lone setter for e-horizon configuration with a read-write property that stores the last set value (since MapboxNavigationNative doesn’t expose a getter).
    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    f6784d2 View commit details
    Browse the repository at this point in the history
  17. Spelled out words in interfaces

    Spelled out “identifier”, “minimum”, and “outlet”.
    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    8591b2d View commit details
    Browse the repository at this point in the history
  18. Use type aliases for identifiers

    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    e93dc6a View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    284864d View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    a668cdc View commit details
    Browse the repository at this point in the history
  21. Type speed limit as a measurement

    The navigator only measures the speed limit in meters per second, but for forward-compatibility, this change uses the Measurement type to allow for localized units in the future. For now, the code unconditionally converts to kilometers per hour.
    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    7349d15 View commit details
    Browse the repository at this point in the history
  22. Typo

    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    e3d91b1 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    a1ae40b View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    3f8642f View commit details
    Browse the repository at this point in the history
  25. Renamed e-horizon types

    Spelled out the “electronic” in “electronic horizon”. Nested several e-horizon types under other types for less repetitiveness. Removed “electronic horizon” from the name of several types to align with a separate naming convention for things related to the road graph.
    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    9b1587c View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    bcdf1fb View commit details
    Browse the repository at this point in the history
  27. Unify e-horizon delegate methods naming

    chezzdev authored and 1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    85fa45f View commit details
    Browse the repository at this point in the history
  28. Remove e-horizon integration test

    chezzdev authored and 1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    dc64f1b View commit details
    Browse the repository at this point in the history
  29. Add missing doc comments

    chezzdev authored and 1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    af19a2d View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    0792257 View commit details
    Browse the repository at this point in the history
  31. Replaced ElectronicHorizonDelegate with notifications

    Electronic horizon updates come from an internal singleton, so exposing them through delegates of RouteController and PassiveLocationDataSource could result in redundancy or contention. Instead, funnel the updates through the Navigator singleton and post notifications. Flattened some notification-specific classes and structs into notification user info dictionaries.
    
    Consolidated creation of RouteObjectsStore wrapper object.
    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    6cbb7d4 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    8c11786 View commit details
    Browse the repository at this point in the history
  33. Converted RoadName to associated-value enumeration

    The name and code are mutually exclusive; an edge identified by both a name and a code would have two RoadNames in its names array.
    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    4847b80 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    fe25659 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    bab8f78 View commit details
    Browse the repository at this point in the history
  36. Clarified road classes

    Renamed ElectronicHorizon.Edge.functionalRoadClass to mapboxStreetsRoadClass for consistency with Intersection.mapboxStreetsRoadClass. Mapbox Streets makes slightly different distinctions than OpenStreetMap’s raw highway tags (which aren’t necessarily strictly functional anyways).
    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    299faea View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    5b5b09f View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    3735bcf View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    1777210 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    0bed3c1 View commit details
    Browse the repository at this point in the history
  41. Removed redundant teardown of e-horizon observer

    The Navigator singleton is already theoretically responsible for tearing down the e-horizon observer, though in practice that will never happen because it’s a singleton. Regardless, it would be inappropriate for RouteController or PassiveLocationDataSource to tear it down because that’s Navigator’s responsibility.
    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    a225cfd View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    603388a View commit details
    Browse the repository at this point in the history
  43. Inline MPP revision Boolean

    The result type type merely distinguishes an initial revision from an update. A Boolean-typed key is more explicit. As additional states become necessary, we can update the user info dictionary as necessary.
    1ec5 committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    1419ebb View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    6b0a057 View commit details
    Browse the repository at this point in the history