Spaceshot Flight Software
The Illinois Space Society's Homemade Rocket Firmware
sensors.h
Go to the documentation of this file.
1 
15 #ifndef SENSORS_H
16 #define SENSORS_H
17 
18 #include "VoltageSensor.h"
19 #include "dataLog.h"
20 
21 void lowGimuTickFunction(LSM9DS1* lsm, DataLogBuffer* data_log_buffer,
22  LowGData* lowG_data);
23 
24 void highGimuTickFunction(QwiicKX134* highG, DataLogBuffer* data_log_buffer,
25  HighGData* highG_data);
26 
27 void gpsTickFunction(SFE_UBLOX_GNSS* gps, DataLogBuffer* data_log_buffer,
28  GpsData* gps_data);
29 
30 void barometerTickFunction(MS5611* barometer, DataLogBuffer* data_log_buffer,
31  BarometerData* barometer_data);
32 
33 void voltageTickFunction(VoltageSensor* voltage, DataLogBuffer* data_log_buffer,
34  VoltageData* voltage_data);
35 
36 #endif
A class to hold all info for ring buffers and mutexes used for data.
Definition: dataLog.h:146
Definition: VoltageSensor.h:17
void gpsTickFunction(SFE_UBLOX_GNSS *gps, DataLogBuffer *data_log_buffer, GpsData *gps_data)
Construct a new thd function object to handle data collection from the GPS.
Definition: sensors.cpp:98
void highGimuTickFunction(QwiicKX134 *highG, DataLogBuffer *data_log_buffer, HighGData *highG_data)
Construct a new thd function object to handle data collection from the high-g IMU.
Definition: sensors.cpp:166
void barometerTickFunction(MS5611 *barometer, DataLogBuffer *data_log_buffer, BarometerData *barometer_data)
Construct a new thd function object to handle data collection from the barometer.
Definition: sensors.cpp:202
void lowGimuTickFunction(LSM9DS1 *lsm, DataLogBuffer *data_log_buffer, LowGData *lowG_data)
Construct a new thd function object to handle data collection from the low-g IMU.
Definition: sensors.cpp:40
Structure for all values collected from the barometer.
Definition: dataLog.h:74
Structure for all values collected from the gps.
Definition: dataLog.h:51
Structure for all values collected from the high g sensor.
Definition: dataLog.h:40
Structure for all values collected from the low g sensor.
Definition: dataLog.h:23
Definition: VoltageSensor.h:7