Vps2Pose
Declaration
data class Vps2PoseSummary
Pose in AR tracking space calculated by VPS2 from a geolocation. This is the pose of the geolocation that was passed in, not of the device.
Constructors
constructor(pose: Pose, horizontalAccuracyMetres: Float, verticalAccuracyMetres: Float, rotationAccuracyDeg: Float, trackingStateValue: Int)
Parameters
| Name | Type | Summary |
|---|---|---|
| pose | Pose | - |
| horizontalAccuracyMetres | Float | - |
| verticalAccuracyMetres | Float | - |
| rotationAccuracyDeg | Float | - |
| trackingStateValue | Int | - |
Properties
| Name | Type | Summary |
|---|---|---|
| horizontalAccuracyMetres | Float | Horizontal accuracy in metres. |
| pose | Pose | Pose in the device's AR tracking space (ARCore's coordinate convention), with translation in meters from the tracking space origin. |
| rotationAccuracyDeg | Float | Rotation accuracy in degrees. |
| trackingState | Vps2TrackingState | Tracking state of the localization this pose was computed from. Always [Vps2TrackingState.COARSE] or [Vps2TrackingState.PRECISE] when a pose is returned (never [Vps2TrackingState.UNAVAILABLE]). |
| verticalAccuracyMetres | Float | Vertical accuracy in metres. |