Ejemplo n.º 1
0
    // 02. INITIALIZE
    void Ready()
    {
        Debug.Log("EPOC Ready!");

        // LOAD PRETRAINED PROFILE
        EPOC.LoadProfile("INSERT_YOUR_PROFILE_NAME");

        // START LOGGING
        EPOC.StartStream();
    }
Ejemplo n.º 2
0
    // EPOC IS READY
    void Ready()
    {
        Debug.Log("EPOC Ready!");


        // START STREAM
        EPOC.StartStream();


        // ------ TRAINING -------
        // It is best to place this command on a key,
        // but make sure to call it after the "READY" event:

        //if (Input.GetKeyDown(KeyCode.A))
        // {
        //    Debug.Log("DO SOMETHING");
        //    EPOC.StartTraining("left");
        //}
        // The next 8 seconds will then be recorded and saved into the profile

        // These are the parameters you could train:
        //"neutral"
        //"push"
        //"pull"
        //"lift"
        //"drop"
        //"left"
        //"right"
        //"rotateLeft"
        //"rotateRight"
        //"rotateClockwise"
        //"rotateCounterClockwise"
        //"rotateForwards"
        //"rotateReverse"
        //"disappear"

        // You could also listen to this events:
        // trainingStarted
        // trainingSucceeded
        // trainingCompleted

        // At the end of a training session you can save your progress to the profile
        // Call this after an "trainingCompleted" event or manually.
        EPOC.SaveProfile();
    }
Ejemplo n.º 3
0
 // 02. INITIALIZE
 void Ready()
 {
     Debug.Log("EPOC Ready!");
     EPOC.LoadProfile("INSERT_YOUR_PROFILE_NAME");
     EPOC.StartStream();
 }
 void Ready()
 {
     INSIGHT.StartStream();
 }
 void Ready()
 {
     Debug.Log("INSIGHT READY");
     INSIGHT.StartStream();
     INSIGHT.SaveProfile();
 }