first publish

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

Process.h

Committer:
icyzkungz
Date:
2016-02-15
Revision:
0:e4727bcb1054

File content as of revision 0:e4727bcb1054:

#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