summaryrefslogtreecommitdiff
path: root/test/loggerTest.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/loggerTest.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/loggerTest.cpp')
-rw-r--r--test/loggerTest.cpp57
1 files changed, 0 insertions, 57 deletions
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