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/loggerTest.cpp | 57 ----------------------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 test/loggerTest.cpp (limited to 'test/loggerTest.cpp') diff --git a/test/loggerTest.cpp b/test/loggerTest.cpp deleted file mode 100644 index fab2f25..0000000 --- a/test/loggerTest.cpp +++ /dev/null @@ -1,57 +0,0 @@ -#include "../include/logger.hpp" - -class Two { - - public: - Two() { - - } - - void WritetoLog() { - Logger::Get().log("THIS IS A NEEEEEWWWW TEST!!!!!"); - Logger::Get().logErr("ERRORRRRRRRR"); - Logger::Get().printLog(); - } - - void TryPrint() { - Logger::Get().printLog(); - } -}; - -class One { - - public: - Two two; - One() { - two = Two(); - } - - void OpenLog() { - Logger::Get().openLog("output.txt"); - two.WritetoLog(); - Logger::Get().closeLog(); - two.TryPrint(); - } -}; - - - - -int main(int argc, char* argv[]) { - - // Logger::Get().openLog("output.txt"); - // Logger::Get().log("Testing Info aksdjflkas lksajfdlasjfaowe aslkdjf alskjf asodfj03945430 0349534 5039485 345"); - // Logger::Get().log("Testing Info Just some stuff"); - // Logger::Get().log("Testing something words words words"); - // Logger::Get().logErr("Testing Error lksdj fa 3459374"); - // Logger::Get().log("Testing blah blah blah blah blah lbal lab lbas labal abala"); - // Logger::Get().log("Testing Info aksdjflkas l11111111111111111111111111111111111111111485 345"); - // Logger::Get().logErr("Testing Error Some other type of error"); - // Logger::Get().logErr("Testing Error Another one"); - // Logger::Get().closeLog(); - // //log.printLog(); - - One one = One(); - one.OpenLog(); - -} \ No newline at end of file -- cgit v1.2.3