DashDataInputsManager

Class that allows users to provide data from external sensors to the navigator.

Not thread-safe, intended to be used from the main thread.

Functions

Link copied to clipboard
abstract suspend fun updateAltimeterData(data: DashAltimeterData): Result<Unit>

Updates the input service with the latest available altimeter data.

Link copied to clipboard
abstract suspend fun updateCompassData(data: DashCompassData): Result<Unit>

Updates the input service with the latest available compass data.

Link copied to clipboard
abstract suspend fun updateEtcGateInfo(info: DashEtcGateInfo): Result<Unit>

Updates the input service with ETC gate information.

Link copied to clipboard

Updates the input service with the latest available temperature data.

Link copied to clipboard
abstract suspend fun updateOdometryData(data: DashOdometryData): Result<Unit>

Updates the input service with the latest available odometry data.

Link copied to clipboard

Updates the input service with the latest available orientation data.

Link copied to clipboard

Updates the input service with the latest available acceleration data.

Link copied to clipboard
abstract suspend fun updateRawGnssData(data: DashRawGnssData): Result<Unit>

Updates the input service with the latest available GNSS data.

Link copied to clipboard
abstract suspend fun updateRawGravityData(data: DashRawGravityData): Result<Unit>

Updates the input service with the latest available gravity data.

Link copied to clipboard

Updates the input service with the latest available gyroscope data.

Link copied to clipboard
abstract suspend fun updateRawLocation(location: Location): Result<Unit>

Updates the input service with a raw location.

Link copied to clipboard
abstract suspend fun updateSpeedData(data: DashSpeedData): Result<Unit>

Updates the input service with the latest available speed data.