void Start()
 {
     filePath   = string.Concat(Application.dataPath, "/data/");
     naos       = GetComponent <DataGathering>();
     eyeData    = GetComponent <ReceiveLiveStream>();
     KerasBrain = GetComponent <Brain>();
     loading    = 0;
 }
Exemple #2
0
    public void Start()
    {
        RD   = GetComponent <RestartData>();
        rls  = GameObject.FindGameObjectWithTag("Data").GetComponent <ReceiveLiveStream>();
        data = GameObject.FindGameObjectWithTag("Data").GetComponent <ExcelStore>();
        calibrationContinue.interactable = false;

        //slider.maxValue = (float) data.BaseLineTime;
    }
    public void Start()
    {
        testTensor = new float[]
        {
            140.285470581055f, 41.11237678527829f, 5.836468505859f, 0.0f,
            0.0f, 0.0f, 2.463f, 0.0f, 64.28699999999999f, 0.7287418126212261f
        };

        naos    = GetComponent <DataGathering>();
        eyeData = GetComponent <ReceiveLiveStream>();
        store   = GetComponent <ExcelStore>();
    }
 public void InitializeVariables()
 {
     gdlX       = new List <double>();
     gdlY       = new List <double>();
     gdlZ       = new List <double>();
     gdrX       = new List <double>();
     gdrY       = new List <double>();
     gdrZ       = new List <double>();
     pdl        = new List <double>();
     pdr        = new List <double>();
     HR         = new List <double>();
     GSR        = new List <double>();
     filePath   = string.Concat(Application.dataPath, "/data/");
     naos       = GetComponent <DataGathering>();
     eyeData    = GetComponent <ReceiveLiveStream>();
     KerasBrain = GetComponent <Brain>();
 }