/** * Gets the position of the Vive headset at a predefined interval and adds that data point to the * head position data file for the current trial. */ void Tracking() { dataManager.AddHeadPos(Time.time, headPos.position, headPos.eulerAngles); dataManager.AddControllerPos(Time.time, controllerPos.position, controllerPos.eulerAngles); }