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 --- include/unused/ads.hpp | 66 -------------------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 include/unused/ads.hpp (limited to 'include/unused/ads.hpp') diff --git a/include/unused/ads.hpp b/include/unused/ads.hpp deleted file mode 100644 index b16c4fb..0000000 --- a/include/unused/ads.hpp +++ /dev/null @@ -1,66 +0,0 @@ -#pragma once -#include -#include -#include -#include -#include -#include "kalmanfilter.hpp" -#include "logger.hpp" -#include "actuationPlan.hpp" -#include "rocketUtils.hpp" -#include "sensorIMU.hpp" -#include "sensorAltimeter.hpp" -#include "motor.hpp" -#include "eigen3/Eigen/Dense" - -using namespace Eigen; - -class ADS { - - private: - - KalmanFilter kf; - ActuationPlan plan; - - IMUSensor imu; - AltimeterSensor altimeter; - Motor motor; - Vehicle rocket; - - /** - * @brief Logs a summary of all pertinent current rocket data - * (e.g. Altitude, Velocity, Acceleration) - */ - virtual void logSummary(); - - /** - * @brief Performs a routine to calculate the average altitude - * while the vehicle is waiting on the pad. - */ - virtual void updateOnPadAltitude(); - - /** - * @brief Update the vehicle with the current sensor (IMU & Altimeter) readings - */ - virtual void updateSensorData(); - - /** - * @brief Update the rocket state based on its current telemetry readings. - * Also Log pertinent telemetry and rocket state data - */ - virtual void updateRocketState(); - - public: - - /** - * @brief Construct a new ADS object - * - * @param plan The Actuation Plan for the Rocket - */ - ADS(ActuationPlan plan); - - /** - * @brief Run the full active drag system from launch to landing. - */ - virtual void run(); -}; \ No newline at end of file -- cgit v1.2.3