5#ifndef MRAS_ROCKETSDLOGGER_H 
    6#define MRAS_ROCKETSDLOGGER_H 
   10#include "system_messages/TextLogMsg.h" 
   19    int8_t loop() 
override;
 
   23    uint32_t last_log_entry = millis();
 
   24    uint32_t last_flush = millis();
 
   33    struct RocketDataLogPayload {
 
   34        Vector<float, 3> accel = {};
 
   35        Vector<float, 3> accel_high_G = {};
 
   36        Vector<float, 3> gyro = {};
 
   37        Vector<float, 3> mag = {};
 
   39        float temperature = 0;
 
   45        float altitude_estimate = 0;
 
   46        float velocity_estimate = 0;
 
Data logger for the rocket, uses the Teensy SD card to log CSV data and text logs to the same file.
Definition: RocketSDLogger.h:16
 
General SD logger class, used by both the ground and rocket SD loggers. This class is not intended to...
Definition: SDLogger.h:21
 
SDLogger(uint8_t id, uint8_t sdPin)
Construct a new SDLogger object.
Definition: SDLogger.h:29
 
A base class for all system messages.
Definition: SystemMessage.h:32