Package edu.purdue.wind

Examples of edu.purdue.wind.Turbine


    data[c][i] = (double)samples[i];
      }
  }

  CrackDetector detector = new CrackDetector(wave.sampleRate(), nSamples);
  Turbine t = new Turbine();

  double probingFreq = Double.parseDouble(args[1]);
  detector.processAudio(t.blade(0), data[0], probingFreq);
  detector.processAudio(t.blade(1), data[1], probingFreq);

  if (detector.detect(t.blade(0), t.blade(1))) {
      System.out.println("Crack detected");
  } else {
      System.out.println("No cracks");
  }
    }
View Full Code Here


import edu.purdue.wind.Log;

public class TurbineMonitorRTSJ {
    public static void main(String[] args) {
  Turbine turbine = new Turbine();

  Log.instance().log(Log.LogLevel.INFO, "TurbineMonitorRTSJ", "Starting");

  Watchdog.start();
View Full Code Here

TOP

Related Classes of edu.purdue.wind.Turbine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.