Пример #1
0
 /// <summary>
 /// Prepares variables and performs any procedures needed when the subject has succeded in the preparation
 /// to start performing the task.
 /// </summary>
 public override void PrepareForStart()
 {
     // Clear buffers
     shDataBuffer.Clear();
     c7DataBuffer.Clear();
     // Select target
     gridManager.SelectBall(targetOrder[iterationNumber - 1]);
     // Return prosthetic elbow to -90deg
     if (experimentType == ExperimentType.TypeTwo)
     {
         elbowManager.SetElbowAngle(Mathf.Deg2Rad * -90.0f);
     }
 }