Added more code for side and angled sensor
Dependencies: QEI2 PID Watchdog VL53L1X_Filter BNOWrapper ros_lib_kinetic
Statistics/Statistics.h
- Committer:
- sepham
- Date:
- 2019-08-13
- Revision:
- 43:9858a580b3d7
- Parent:
- 35:5a2fed4c2e9f
File content as of revision 43:9858a580b3d7:
#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