summaryrefslogtreecommitdiff
path: root/ahrs.h
diff options
context:
space:
mode:
Diffstat (limited to 'ahrs.h')
-rw-r--r--ahrs.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/ahrs.h b/ahrs.h
deleted file mode 100644
index e78ae8d..0000000
--- a/ahrs.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef AHRS_H
-#define AHRS_H
-
-#include "itg3200.h"
-#include "bma150.h"
-
-class AHRS {
- public:
- ITG3200 gyro;
- BMA150 accel;
-
- AHRS(I2C& i2c) : gyro(i2c), accel(i2c) {}
-
- void init() {
- gyro.init();
- accel.init();
- }
-
- void update() {
- gyro.update();
- accel.update();
- }
-};
-
-#endif