|
Avionics
Core avionics package for CURE flight computers
|
Bundles one or more SensorDataHandler pointers for telemetry packing. More...
#include <Telemetry.h>

Public Member Functions | |
| SendableSensorData (SensorDataHandler *_singleSDH, SensorDataHandler **_multiSDH, int _multiSDHLength, int _multiSDHDataLabel, uint8_t _sendFrequencyHz) | |
| bool | shouldBeSent (uint32_t time) |
| True if the packet should be sent. | |
| void | markWasSent (uint32_t time) |
| Run when the packet is sent. | |
Public Attributes | |
| SensorDataHandler * | singleSDH |
| SensorDataHandler ** | multiSDH |
| int | multiSDHLength |
| int | multiSDHDataLabel |
| int | sendFrequencyHz |
| uint32_t | lastSentTimestamp |
Bundles one or more SensorDataHandler pointers for telemetry packing.
| singleSDH | Single handler to send when not using an array. |
| multiSDH | Array of handlers to send together (optional). |
| multiSDHLength | Length of the multiSDH array. |
| multiSDHDataLabel | Label used for the multi array payload. |
| sendFrequencyHz | Desired transmission rate in hertz. |
Definition at line 25 of file Telemetry.h.
|
inline |
Definition at line 33 of file Telemetry.h.
|
inline |
Run when the packet is sent.
Definition at line 53 of file Telemetry.h.
|
inline |
True if the packet should be sent.
Definition at line 45 of file Telemetry.h.
| uint32_t SendableSensorData::lastSentTimestamp |
Definition at line 31 of file Telemetry.h.
| SensorDataHandler** SendableSensorData::multiSDH |
Definition at line 27 of file Telemetry.h.
| int SendableSensorData::multiSDHDataLabel |
Definition at line 29 of file Telemetry.h.
| int SendableSensorData::multiSDHLength |
Definition at line 28 of file Telemetry.h.
| int SendableSensorData::sendFrequencyHz |
Definition at line 30 of file Telemetry.h.
| SensorDataHandler* SendableSensorData::singleSDH |
Definition at line 26 of file Telemetry.h.