Antilatency.Alt.Tracking.ITrackingCotask

Antilatency.Alt.Tracking.ITrackingCotask

Interface in Antilatency.Alt.Tracking
A cotask over the tracking task that does actual tracking and provides users with ready to use worldspace position and orientation of the tracked object.
interface ITrackingCotask : DeviceNetwork.ICotask {
State getExtrapolatedState(​Math.floatP3Q placement, float deltaTime);
State getState(​float angularVelocityAvgTimeInSeconds);
}

Methods

Calculates an extrapolation of the tracked object's kinematic state into near future.
Calculates an estimation of the tracker's kinematic state. Unlike ITrackingCotask.getExtrapolatedState, this method does not accept a placement parameter and always estimates the position of the tracker itself.