Updated references from MPU6050 to BNO080
Dependencies: QEI2 PID Watchdog VL53L1X_Filter BNOWrapper ros_lib_kinetic
Diff: Statistics/statistics.h
- Revision:
- 31:06f2362caf12
- Parent:
- 28:6d6bd8ad04dc
diff -r c25b2556e84d -r 06f2362caf12 Statistics/statistics.h --- a/Statistics/statistics.h Mon Jul 01 21:38:57 2019 +0000 +++ b/Statistics/statistics.h Mon Jul 01 23:20:48 2019 +0000 @@ -8,14 +8,14 @@ { public: //Defining default constructor - statistics(int* Input, int dataLength, int firstDataPoint = 0); + statistics(int* Input, double dataLength, int firstDataPoint = 0); //Defining methods double stdev(); double mean(); private: int* data; //pointer to data - int dataLength; + double dataLength; int firstDataPoint;