|
Spaceshot Flight Software
The Illinois Space Society's Homemade Rocket Firmware
|
Sensor (Low-G, High-G and GPS) function implementations. More...
#include <Arduino.h>#include <ChRt.h>#include <PWMServo.h>#include <SD.h>#include <SPI.h>#include <Wire.h>#include <cmath>#include "SparkFun_u-blox_GNSS_Arduino_Library.h"#include "dataLog.h"#include "pins.h"#include "sensors.h"Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| void | barometerTickFunction (MS5611 *barometer, DataLogBuffer *data_log_buffer, BarometerData *barometer_data) |
| Construct a new thd function object to handle data collection from the barometer. More... | |
| void | voltageTickFunction (VoltageSensor *voltage, DataLogBuffer *data_log_buffer, VoltageData *voltage_data) |
Sensor (Low-G, High-G and GPS) function implementations.
Here contains the pointer structs for three types of sensors (Low-g, High-g and GPS) and the functions to acquire data from the sensors to the pointer structs.
| void barometerTickFunction | ( | MS5611 * | barometer, |
| DataLogBuffer * | data_log_buffer, | ||
| BarometerData * | barometer_data | ||
| ) |
Construct a new thd function object to handle data collection from the barometer.
| arg | Contains pointers to various objects needed by the barometer. |
| 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.
| arg | Contains pointers to various objects needed by the GPS. |
| 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.
| arg | Contains pointers to the various objects needed by the high-g IMU. |
| 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.
| arg | Contains pointers to various objects needed by the low-g IMU. |