21 lines
331 B
C++
21 lines
331 B
C++
#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 |