Added more code for side and angled sensor

Dependencies:   QEI2 PID Watchdog VL53L1X_Filter BNOWrapper ros_lib_kinetic

Revision:
35:5a2fed4c2e9f
Parent:
31:06f2362caf12
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Statistics/Statistics.h	Tue Jul 09 21:18:01 2019 +0000
@@ -0,0 +1,23 @@
+#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
\ No newline at end of file