CameraPoseState

data class CameraPoseState(val pose: CameraPose? = null, val hasSensor: Boolean = true, val calibration: Int = CALIBRATION_UNKNOWN, val headingAccuracyDeg: Double? = null, val trueNorth: Boolean = false, val thermal: HudThermal = HudThermal.NORMAL)(source)

calibration is the platform's sensor status, 3 high down to 0 unreliable, and -1 before the first reading. headingAccuracyDeg is the sensor's own estimate of its heading error, null when it gives none. trueNorth is true when the source already applied the declination, so the pose is referenced to true north rather than magnetic. thermal is how hot the phone runs, so the view can shed work before the system throttles it.

Constructors

Link copied to clipboard
constructor(pose: CameraPose? = null, hasSensor: Boolean = true, calibration: Int = CALIBRATION_UNKNOWN, headingAccuracyDeg: Double? = null, trueNorth: Boolean = false, thermal: HudThermal = HudThermal.NORMAL)

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