Added Back ToF code
Dependencies: QEI2 PID IMU6050Ver11 Watchdog VL53L1X_Filter ros_lib_kinetic
Dependents: Version1-6 Version1-7
Statistics/Statistics.h
- Committer:
- JesiMiranda
- Date:
- 2019-07-09
- Revision:
- 35:5a2fed4c2e9f
- Parent:
- Statistics/statistics.h@ 31:06f2362caf12
File content as of revision 35:5a2fed4c2e9f:
#ifndef STATISTICS_h #define STATISTICS_h #include "mbed.h" class Statistics { public: //Defining default constructor Statistics(int* Input, double dataLength, int firstDataPointIn = 0); //Defining methods double stdev(); double mean(); private: int* data; //pointer to data double dataLength; int firstDataPoint; }; #endif //STATISTICS_h