Skip to main content
←API Reference ←com.nianticspatial.nsdk.vps2

Vps2Pose


Declaration​

data class Vps2Pose

Summary​

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​

NameTypeSummary
posePose
-
horizontalAccuracyMetresFloat
-
verticalAccuracyMetresFloat
-
rotationAccuracyDegFloat
-
trackingStateValueInt
-

Properties​

NameTypeSummary
horizontalAccuracyMetresFloat
Horizontal accuracy in metres.
posePose
Pose in the device's AR tracking space (ARCore's coordinate convention), with translation in
meters from the tracking space origin.
rotationAccuracyDegFloat
Rotation accuracy in degrees.
trackingStateVps2TrackingState
Tracking state of the localization this pose was computed from. Always
[Vps2TrackingState.COARSE] or [Vps2TrackingState.PRECISE] when a pose is
returned (never [Vps2TrackingState.UNAVAILABLE]).
verticalAccuracyMetresFloat
Vertical accuracy in metres.