comments and cleanup

This commit is contained in:
2024-06-05 13:56:23 +02:00
parent fbca5ce351
commit d0c74c4e25
4 changed files with 20 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
#ifndef SensorManager_h
#define SensorManager_h
#ifndef MOVEMENTSENSORCODE_SENSORMANAGER_H
#define MOVEMENTSENSORCODE_SENSORMANAGER_H
#include "Arduino.h"
#include "SparkFun_BNO080_Arduino_Library.h"
@@ -23,6 +23,8 @@ public:
acceleration getAcelleration();
bool sensorTap();
private:
struct RotationQuaternions {
float i;
float j;
@@ -31,9 +33,7 @@ public:
};
RotationQuaternions getQuaternions();
private:
BNO080 myIMU;
};
#endif
#endif // MOVEMENTSENSORCODE_SENSORMANAGER_H