Changeset d6fbdfb in orbit for android/src/info


Ignore:
Timestamp:
06/05/13 04:55:38 (9 years ago)
Author:
Steve Castellotti <sc@…>
Branches:
master, RawEEG, Servo, Tab_Interface, pyramid
Children:
ab9d63b
Parents:
969e7b2
Message:

Orbit:

  • Set Attention and Meditation to zero if we've lost signal
File:
1 edited

Legend:

Unmodified
Added
Removed
  • android/src/info/puzzlebox/orbit/OrbitActivity.java

    r969e7b2 rd6fbdfb  
    938938                 * which is used to fly the helicopter 
    939939                 */ 
     940                 
     941        // Set Attention and Meditation to zero if we've lost signal 
     942        if (eegSignal < 100) { 
     943                eegAttention = 0; 
     944                eegMeditation = 0; 
     945                progressBarAttention.setProgress(eegAttention); 
     946                progressBarMeditation.setProgress(eegMeditation); 
     947        } 
    940948 
    941949                eegPower = calculateSpeed(); 
Note: See TracChangeset for help on using the changeset viewer.