first publish

Dependents:   CleaningMachine_Betago CleaningMachine_Betago clean_V1 CleaningM-Palm ... more

Revision:
0:e4727bcb1054
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Process.h	Mon Feb 15 17:45:38 2016 +0000
@@ -0,0 +1,35 @@
+#ifndef PROCESS_H
+#define PROCESS_H
+#include "mbed.h"
+
+#define PROCESS_DEBUG
+
+class Process
+{
+public:
+    Serial *pc;
+    Process();
+    
+    //Walk Style
+    void EdgeWalk();
+    
+    //Calculation
+    void CalEdgeWalk();
+    float StandardDeviation();
+    
+    //Set
+    void setWeight(int,float);
+    
+    //void getSensorData(float*);
+    
+
+private:
+    float SensorData[10];
+    float weight[10];
+    float mean;
+    float sum_weight;
+    float SD;
+};
+
+
+#endif
\ No newline at end of file