Added more code for side and angled sensor

Dependencies:   QEI2 PID Watchdog VL53L1X_Filter BNOWrapper ros_lib_kinetic

Committer:
jvfausto
Date:
Fri Jun 28 21:16:26 2019 +0000
Revision:
27:da718b990837
Child:
28:6d6bd8ad04dc
a

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jvfausto 27:da718b990837 1 #ifndef statistics_h
jvfausto 27:da718b990837 2 #define statistics_h
jvfausto 27:da718b990837 3
jvfausto 27:da718b990837 4 #include "mbed.h"
jvfausto 27:da718b990837 5
jvfausto 27:da718b990837 6 class statistics
jvfausto 27:da718b990837 7 {
jvfausto 27:da718b990837 8 public:
jvfausto 27:da718b990837 9
jvfausto 27:da718b990837 10 statistics(int* Input, int dataLength, int firstDataPoint = 0);
jvfausto 27:da718b990837 11 double stdev();
jvfausto 27:da718b990837 12 double mean();
jvfausto 27:da718b990837 13
jvfausto 27:da718b990837 14 private:
jvfausto 27:da718b990837 15 int* data;
jvfausto 27:da718b990837 16 int dataLength;
jvfausto 27:da718b990837 17
jvfausto 27:da718b990837 18
jvfausto 27:da718b990837 19 };
jvfausto 27:da718b990837 20
jvfausto 27:da718b990837 21 #endif
jvfausto 27:da718b990837 22