Added Back ToF code
Dependencies: QEI2 PID IMU6050Ver11 Watchdog VL53L1X_Filter ros_lib_kinetic
Dependents: Version1-6 Version1-7
Diff: Statistics/statistics.h
- Revision:
- 27:da718b990837
- Child:
- 28:6d6bd8ad04dc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Statistics/statistics.h Fri Jun 28 21:16:26 2019 +0000 @@ -0,0 +1,22 @@ +#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 +