Package-level declarations
Types
Link copied to clipboard
data class VpsConfig(val locationSource: VpsLocationSourceConfig = VpsLocationSourceConfig(), val controller: VpsControllerConfig = VpsControllerConfig(), val stateManager: VpsStateManagerConfig = VpsStateManagerConfig(), val staticPositionDetector: VpsStaticPositionDetectorConfig = VpsStaticPositionDetectorConfig(), val conveyingDetector: VpsConveyingDetectorConfig = VpsConveyingDetectorConfig())
Configuration for a com.getwemap.sdk.positioning.wemapvpsarcore.VpsARCoreLocationSource. All values take effect at creation and cannot be changed afterward.
Link copied to clipboard
data class VpsControllerConfig(val backgroundScanTimeInterval: Duration? = null, val backgroundScanDistanceThreshold: Double = 15.0, val backgroundScanFailureResetThreshold: Int = 10, val foregroundScanMinInclinationAngle: Double? = null, val backgroundScanMinInclinationAngle: Double = 75.0, val slowConnectionTimeout: Duration = 5.seconds, val useGrayscaleImageForVps: Boolean = false, val cameraImageMaxSizeSmallerSide: Int = 720, val useJpgImageForVps: Boolean = true, val jpgImageCompressionQuality: Int = 70)
Configuration for VPS scan scheduling, inclination filtering, and image capture.
Link copied to clipboard
data class VpsConveyingDetectorConfig(val duration: Duration = 3.seconds, val elevatorBufferRadius: Double = 5.0, val linearConveyingBufferOffset: Double = 3.0, val excludeConveyorDuration: Duration = 60.seconds)
Configuration for the conveying-detector that identifies elevator, escalator, and ramp transitions.
Link copied to clipboard
data class VpsLocationSourceConfig(val accurateStateAccuracy: Double = 1.0, val degradedStateAccuracy: Double = 5.0, val attitudeAccuracy: Double = 35.0)
Accuracy thresholds for the VPS location source state machine.
Link copied to clipboard
data class VpsStateManagerConfig(val degradedDistanceThreshold: Double = 75.0, val notPositioningDistanceThreshold: Double = 150.0)
Distance thresholds that drive the VPS positioning state machine.
Link copied to clipboard
data class VpsStaticPositionDetectorConfig(val windowDuration: Duration = 3.seconds, val geofenceRadiusMeters: Double = 1.0)
Configuration for the static-position detector used to pause VPS scanning when the user is stationary.