From 58b4bc754bbb9f5197119cd0c124e49c05acff46 Mon Sep 17 00:00:00 2001 From: Dawsyn Schraiber <32221234+dawsynth@users.noreply.github.com> Date: Thu, 13 Jun 2024 14:30:58 -0400 Subject: Where to begin…. (#13) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +/- 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 --- test/motorTest.cpp | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 test/motorTest.cpp (limited to 'test/motorTest.cpp') diff --git a/test/motorTest.cpp b/test/motorTest.cpp deleted file mode 100644 index c570826..0000000 --- a/test/motorTest.cpp +++ /dev/null @@ -1,50 +0,0 @@ -#include -#include -#include -#include "../include/motor.hpp" -#include "../include/rocketUtils.hpp" - -class MotorTest : public ::testing::Test { - - protected: - - MotorTest() { - - m1 = new Motor(); - } - - //~IMUSensorTest() {} - - Motor *m1; -}; - - -/** - * @brief Test a - * - * **/ -TEST_F(MotorTest, init) { - - Vehicle rocket; - - m1->init((void*)&rocket); - - // ASSERT Statements..... -} - - -/** - * @brief Test a - * - * **/ -TEST_F(MotorTest, writeData) { - - Vehicle rocket; - - m1->writeData((void*)&rocket); - - // ASSERT Statements..... -} - - -// TODO: FIGURE OUT WHY MAKING 'rocket' a POINTER CAUSES A SEGFAULT -- cgit v1.2.3