Spaceshot Flight Software
The Illinois Space Society's Homemade Rocket Firmware
DataLogBuffer Class Reference

A class to hold all info for ring buffers and mutexes used for data. More...

#include <dataLog.h>

Public Member Functions

 MUTEX_DECL (dataMutex_lowG)
 
 MUTEX_DECL (dataMutex_highG)
 
 MUTEX_DECL (dataMutex_GPS)
 
 MUTEX_DECL (dataMutex_barometer)
 
 MUTEX_DECL (dataMutex_flaps)
 
 MUTEX_DECL (dataMutex_rocket_state)
 
 MUTEX_DECL (dataMutex_voltage)
 
 MUTEX_DECL (dataMutex_state)
 
bool pushLowGFifo (LowGData *lowG_Data)
 
bool popLowGFifo (LowGData *lowG_Data)
 
bool pushHighGFifo (HighGData *highG_Data)
 
bool popHighGFifo (HighGData *highG_Data)
 
bool pushGpsFifo (GpsData *gps_Data)
 
bool popGpsFifo (GpsData *gps_Data)
 
bool pushStateFifo (stateData *state_data)
 
bool popStateFifo (stateData *state_data)
 
bool pushRocketStateFifo (rocketStateData< 4 > *rocket_data)
 
bool popRocketStateFifo (rocketStateData< 4 > *rocket_data)
 
bool pushBarometerFifo (BarometerData *barometer_data)
 
bool popBarometerFifo (BarometerData *barometer_data)
 
bool pushFlapsFifo (FlapData *flap_data)
 
bool popFlapsFifo (FlapData *flap_data)
 
bool pushVoltageFifo (VoltageData *voltage_data)
 
bool popVoltageFifo (VoltageData *voltage_data)
 

Public Attributes

HistoryBuffer< 50 > altitude_history_50 = HistoryBuffer<50>()
 
HistoryBuffer< 50 > IMU_acceleration_history_50 = HistoryBuffer<50>()
 
HistoryBuffer< 6 > altitude_history_6 = HistoryBuffer<6>()
 
HistoryBuffer< 6 > IMU_acceleration_history_6 = HistoryBuffer<6>()
 
HistoryBuffer< 6 > gnc_altitude_history_6 = HistoryBuffer<6>()
 
HistoryBuffer< 6 > gnc_IMU_acceleration_history_6 = HistoryBuffer<6>()
 
sensorDataStruct_t current_data
 
File dataFile
 

Detailed Description

A class to hold all info for ring buffers and mutexes used for data.


The documentation for this class was generated from the following files: