class and script creation

This commit is contained in:
2024-05-08 14:09:03 +02:00
parent 21f1a844ba
commit 6a20c8f16d
4 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#ifndef SensorManager_h
#define SensorManager_h
#include "Arduino.h"
#include "SparkFun_BNO080_Arduino_Library.h"
class SensorManager {
public:
SensorManager();
void sensorSetup();
struct Rotation {
float x;
float y;
float z;
};
Rotation readLoop();
private:
BNO080 myIMU;
};
#endif