// Records data for evaluation upon user input: frame timestamp, Leap Motion hand speed, Palm 3D position in meters, Ground Truth 3D position in meters
    private void recordPosition(float leapSpeed, float x, float y, float z)
    {
        float time = Time.time - recordStart;

        float[] truth = new float[3];
        if (RobotController.started)
        {
            truth = RobotController.GetPose();
        }

        string[] row = new string[8];

        row[0] = time.ToString();
        row[1] = leapSpeed.ToString();
        row[2] = (x * 1000).ToString();
        row[3] = (y * 1000).ToString();
        row[4] = (z * 1000).ToString();
        row[5] = truth[0].ToString();
        row[6] = truth[1].ToString();
        row[7] = truth[2].ToString();

        recData.Add(row);
    }