Antilatency.Alt.Tracking
Stability
structure, where Stability.stage
completely determines the meaning of Stability.value
; that's why the latter is documented here as well.enum Stage {
InertialDataInitialization,Tracking3Dof,Tracking6Dof,TrackingBlind6Dof}
InertialDataInitialization
State.pose
is not defined and should not be relied upon, Stability.value
is set to zero. Once enough inertial data gets collected, tracker immediately switches to the Stage.Tracking3Dof
stage.Tracking3Dof
State.pose
will hold the last known position of the object or Constants.InitialPositionFor3Dof
if no world space position was found since the start of the tracking run, the rotational component will hold the best available estimation of the object's world space orientation, Stability.value
will be set to zero.However, since only inertial data is used in this mode, the orientation will slowly drift along the vertical axis as time passes by. Once optical data become available, the tracker will switch into the Stage.Tracking6Dof
stage.Tracking6Dof
State.pose
will hold the best available estimation of the tracked object's pose, Stability.value
will hold the tracking solver's internal metric of this solution stability.TrackingBlind6Dof
Stability.value
is a fraction of time left before switching to Stage.Tracking3Dof
. It gradually decreases from 1.0 to 0.0 as time passes by. The value may be useful for animation effects or to notify the user about the oncoming loss of tracking.