Updated references from MPU6050 to BNO080

Dependencies:   QEI2 PID Watchdog VL53L1X_Filter BNOWrapper ros_lib_kinetic

Dependents:   Version1-8

Committer:
t1jain
Date:
Wed Aug 07 19:01:17 2019 +0000
Revision:
42:62c49ad06707
Parent:
35:5a2fed4c2e9f
Changed references from MPU6050 to BNO080

Who changed what in which revision?

UserRevisionLine numberNew contents of line
JesiMiranda 35:5a2fed4c2e9f 1 #ifndef STATISTICS_h
JesiMiranda 35:5a2fed4c2e9f 2 #define STATISTICS_h
jvfausto 27:da718b990837 3
jvfausto 27:da718b990837 4 #include "mbed.h"
jvfausto 27:da718b990837 5
JesiMiranda 35:5a2fed4c2e9f 6 class Statistics
jvfausto 27:da718b990837 7 {
jvfausto 27:da718b990837 8 public:
jvfausto 28:6d6bd8ad04dc 9 //Defining default constructor
JesiMiranda 35:5a2fed4c2e9f 10 Statistics(int* Input, double dataLength, int firstDataPointIn = 0);
jvfausto 28:6d6bd8ad04dc 11 //Defining methods
jvfausto 27:da718b990837 12 double stdev();
jvfausto 27:da718b990837 13 double mean();
jvfausto 27:da718b990837 14
jvfausto 27:da718b990837 15 private:
jvfausto 28:6d6bd8ad04dc 16 int* data; //pointer to data
t1jain 31:06f2362caf12 17 double dataLength;
jvfausto 28:6d6bd8ad04dc 18 int firstDataPoint;
jvfausto 27:da718b990837 19
jvfausto 27:da718b990837 20
jvfausto 27:da718b990837 21 };
jvfausto 27:da718b990837 22
JesiMiranda 35:5a2fed4c2e9f 23 #endif //STATISTICS_h