Guidance

fun Guidance(instructions: List<GuidanceInstruction>, announcement: GuidanceAnnouncement? = null, distanceToManeuver: Distance, currentPhase: InstructionPhase)

Parameters

instructions

List of next instructions. The number of instructions provided is determined by GuidanceEngineOptions.instructionDistanceThreshold.

announcement

Announcement about the upcoming maneuver.

distanceToManeuver

Distance to the upcoming maneuver.

currentPhase

InstructionPhase of the upcoming maneuver.