Changeset d6fbdfb in orbit for android


Ignore:
Timestamp:
06/05/13 04:55:38 (7 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
Location:
android
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • android/.classpath

    ra763394 rd6fbdfb  
    55        <classpathentry exported="true" kind="lib" path="libs/ThinkGear.jar"/> 
    66        <classpathentry kind="lib" path="libs/usb-serial-for-android-v010.jar"/> 
     7        <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> 
    78        <classpathentry kind="src" path="src"/> 
    89        <classpathentry kind="src" path="gen"/> 
  • 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.