Updated with Statistics Library

Dependencies:   QEI2 chair_BNO055 PID Watchdog VL53L1X_Filter ros_lib_kinetic

Statistics/statistics.h

Committer:
jvfausto
Date:
2019-06-28
Revision:
27:da718b990837
Child:
28:e01253eb6c6f

File content as of revision 27:da718b990837:

#ifndef statistics_h
#define statistics_h
 
#include "mbed.h"

class statistics 
{ 
public: 

    statistics(int* Input, int dataLength, int firstDataPoint = 0); 
    double stdev();
    double mean();
    
  private:
   int* data;
   int dataLength;

    
};

#endif