summaryrefslogtreecommitdiff
path: root/test/sensorAltimeterTest.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/sensorAltimeterTest.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/sensorAltimeterTest.cpp')
-rw-r--r--test/sensorAltimeterTest.cpp50
1 files changed, 0 insertions, 50 deletions
diff --git a/test/sensorAltimeterTest.cpp b/test/sensorAltimeterTest.cpp
deleted file mode 100644
index 7ba9521..0000000
--- a/test/sensorAltimeterTest.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-#include <iostream>
-#include <vector>
-#include <gtest/gtest.h>
-#include "../include/sensorAltimeter.hpp"
-#include "../include/rocketUtils.hpp"
-
-class AltimeterSensorTest : public ::testing::Test {
-
- protected:
-
- AltimeterSensorTest() {
-
- alti = new AltimeterSensor();
- }
-
- //~IMUSensorTest() {}
-
- AltimeterSensor *alti;
-};
-
-
-/**
- * @brief Test a
- *
- * **/
-TEST_F(AltimeterSensorTest, init) {
-
- Vehicle rocket;
-
- alti->init((void*)&rocket);
-
- // ASSERT Statements.....
-}
-
-
-/**
- * @brief Test a
- *
- * **/
-TEST_F(AltimeterSensorTest, getData) {
-
- Vehicle rocket;
-
- alti->getData((void*)&rocket.current_altitude);
-
- // ASSERT Statements.....
-}
-
-
-// TODO: FIGURE OUT WHY MAKING 'rocket' a POINTER CAUSES A SEGFAULT