Stage

Stage

Enumeration in Antilatency.Alt.Tracking
Represents the logical stage of the tracking run, which can also be thought as the operation mode of the tracking cotask. This enumeration is the central part of the 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
}

Fields

InertialDataInitialization
The very fist tracking stage where the tracker simply waits for enough accelerometer samples to come to reliably find its orientation with respect to the gravity vector. During this stage the value of 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
The tracking stage where there is enough data to find the tracked object's orientation, but not its position.During this stage the positional component of State.pose will hold the last known position of the object or Constants.InitialPositionFor3Dof if no woldspace position was found since the start of the tracking run, the rotational component will hold the best available estimation of the object's worldspace 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
The tracking stage where there is enough data to find the tracked object's both worldspace position and orientation. During this stage 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
Inertial-only 6-DOF tracking, without optical corrections. Stability.value is a fraction of time left before switch to Stage.Tracking3Dof. It gradually decreases from 1.0 to 0.0 as time passes by. The value may useful for animation effects or to notify the user about the oncoming loss of tracking.