|
Avionics
Core avionics package for CURE flight computers
|
Packetizes telemetry streams and sends them out over a Stream. More...
#include <Telemetry.h>

Public Member Functions | |
| template<std::size_t N> | |
| Telemetry (const std::array< SendableSensorData *, N > &streams, Stream &rfdSerialConnection) | |
| Construct from std::array (convenient and compile-time sized). The std::array must outlive the Telemetry instance. | |
| bool | tick (std::uint32_t currentTimeMs) |
| Call every loop to send due telemetry streams. | |
Packetizes telemetry streams and sends them out over a Stream.
Usage pattern:
Lifetime rule:
Definition at line 192 of file Telemetry.h.
|
inline |
Construct from std::array (convenient and compile-time sized). The std::array must outlive the Telemetry instance.
Definition at line 200 of file Telemetry.h.
| bool Telemetry::tick | ( | std::uint32_t | currentTimeMs | ) |
Call every loop to send due telemetry streams.
| currentTimeMs | Current time in milliseconds. |
Definition at line 80 of file Telemetry.cpp.