4 #include <ServoControl.h>
8 #include "FifoBuffer.h"
17 #define RF95_FREQ 434.0
19 #define MAX_CMD_LEN 10
24 uint16_t barometer_pressure;
32 uint8_t flap_extension;
33 uint8_t barometer_temp;
47 int8_t datapoint_count;
48 uint8_t voltage_battery;
59 float barometer_pressure;
88 char sign[8] =
"HITHERE";
90 float battery_voltage;
95 enum CommandType { SET_FREQ, SET_CALLSIGN, ABORT, TEST_FLAPS, EMPTY };
105 std::array<char, 6> verify;
109 bool should_change{};
122 FifoBuffer<TelemetryDataLite, 4> buffered_data;
131 int last_command_id = -1;
134 char callsign[8] =
"NO SIGN";
Definition: telemetry.h:113
void handle_command(const telemetry_command &cmd)
This function handles commands sent from the ground station to TARS. The effects of this function dep...
Definition: telemetry.cpp:99
void transmit(const sensorDataStruct_t &)
This function transmits data from the struct provided as the parameter (data collected from sensor su...
Definition: telemetry.cpp:145
Sensor (Low-G, High-G and GPS) struct definitions.
Definition: telemetry.h:21
Definition: telemetry.h:36
Definition: telemetry.h:108
A struct to hold all of the data that could come from any of the sensors.
Definition: dataLog.h:100
Definition: telemetry.h:97
Definition: telemetry.h:53