added code comments
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "Arduino.h"
|
||||
#include "SparkFun_BNO080_Arduino_Library.h"
|
||||
|
||||
// declare the class SensorManager with all functions
|
||||
class SensorManager {
|
||||
public:
|
||||
SensorManager();
|
||||
@@ -18,7 +19,7 @@ public:
|
||||
float y;
|
||||
float z;
|
||||
};
|
||||
|
||||
// void sendData(float roll, float pitch, float yaw);
|
||||
eulerAngles getEulerAngles();
|
||||
acceleration getAcelleration();
|
||||
bool sensorTap();
|
||||
@@ -31,7 +32,7 @@ private:
|
||||
float k;
|
||||
float w;
|
||||
};
|
||||
RotationQuaternions getQuaternions();
|
||||
RotationQuaternions getQuaternions(); // get the quaternions from the sensor
|
||||
|
||||
BNO080 myIMU;
|
||||
};
|
||||
|
Reference in New Issue
Block a user