summaryrefslogtreecommitdiff
path: root/test/sensorIMUTest.cpp
diff options
context:
space:
mode:
authorDawsyn Schraiber <[email protected]>2024-06-13 14:30:58 -0400
committerGitHub <[email protected]>2024-06-13 14:30:58 -0400
commit58b4bc754bbb9f5197119cd0c124e49c05acff46 (patch)
tree8a65e23756374626e2c9cb997af9d8ed6f892390 /test/sensorIMUTest.cpp
parent8fbd08fe29bbc2246a78b481b219c241f62ff420 (diff)
downloadactive-drag-system-58b4bc754bbb9f5197119cd0c124e49c05acff46.tar.gz
active-drag-system-58b4bc754bbb9f5197119cd0c124e49c05acff46.tar.bz2
active-drag-system-58b4bc754bbb9f5197119cd0c124e49c05acff46.zip
Where to begin…. (#13)
+/- Reworked collection of altimeter related functions into altimeter class +/- Reworked bno055 class to be imu class with minimal functionality \- Removed external Kalman filter implementations in favor of own in house version \- Removed any/unused files \+ Added buffer logger for when sitting on pad for extended period of time in effort to prevent filling of flash chip \+ Added heartbeat LED for alive status
Diffstat (limited to 'test/sensorIMUTest.cpp')
-rw-r--r--test/sensorIMUTest.cpp50
1 files changed, 0 insertions, 50 deletions
diff --git a/test/sensorIMUTest.cpp b/test/sensorIMUTest.cpp
deleted file mode 100644
index d16930e..0000000
--- a/test/sensorIMUTest.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-#include <iostream>
-#include <vector>
-#include <gtest/gtest.h>
-#include "../include/sensorIMU.hpp"
-#include "../include/rocketUtils.hpp"
-
-class IMUSensorTest : public ::testing::Test {
-
- protected:
-
- IMUSensorTest() {
-
- imu = new IMUSensor();
- }
-
- //~IMUSensorTest() {}
-
- IMUSensor *imu;
-};
-
-
-/**
- * @brief Test a
- *
- * **/
-TEST_F(IMUSensorTest, init) {
-
- Vehicle rocket;
-
- imu->init((void*)&rocket);
-
- // ASSERT Statements.....
-}
-
-
-/**
- * @brief Test a
- *
- * **/
-TEST_F(IMUSensorTest, getData) {
-
- Vehicle rocket;
-
- imu->getData((void*)&rocket);
-
- // ASSERT Statements.....
-}
-
-
-// TODO: FIGURE OUT WHY MAKING 'rocket' a POINTER CAUSES A SEGFAULT