FreeDriveProgress

class FreeDriveProgress(val state: NavigationProgressState, val currentSpeed: Double, val currentSpeedLimit: Double, val currentAddress: Address?, val currentGPSPosition: Location?, val currentMapMatchedPosition: GeoPoint?, val currentMapMatchedHeading: Double, val currentEnergyLoad: Double, val currentSoc: Double, val circuitNavigationState: CircuitNavigationState?, val circuitPercentage: Double) : TrackingProgress

Class that holds info about the current tracking during free drive mode in circuit navigation. Extends TrackingProgress for circuit-specific free drive scenarios.

Free drive mode occurs when the driver leaves the circuit and the navigation is not actively guiding them back. The driver can rejoin the circuit at any point.

Constructors

Link copied to clipboard
constructor(state: Int, currentSpeed: Double, currentSpeedLimit: Double, currentAddress: Address?, locLongitude: Double, locLatitude: Double, locAltitude: Double, locBearing: Float, locSatUsed: Int, currentMapMatchedPosition: GeoPoint?, currentMapMatchedHeading: Double, currentEnergyLoad: Double, currentSoc: Double)

Internal constructor called from JNI code : Don't modify its prototype !

constructor(trackingProgress: TrackingProgress, circuitNavigationState: CircuitNavigationState?, circuitPercentage: Double)

Constructor to create a FreeDriveProgress from a TrackingProgress.

constructor(state: NavigationProgressState, currentSpeed: Double, currentSpeedLimit: Double, currentAddress: Address?, currentGPSPosition: Location?, currentMapMatchedPosition: GeoPoint?, currentMapMatchedHeading: Double, currentEnergyLoad: Double, currentSoc: Double, circuitNavigationState: CircuitNavigationState?, circuitPercentage: Double)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String