Module stabilizer::net::telemetry

source ·
Expand description

Stabilizer Telemetry Capabilities

§Design

Telemetry is reported regularly using an MQTT client. All telemetry is reported in SI units using standard JSON format.

In order to report ADC/DAC codes generated during the DSP routines, a telemetry buffer is employed to track the latest codes. Converting these codes to SI units would result in repetitive and unnecessary calculations within the DSP routine, slowing it down and limiting sampling frequency. Instead, the raw codes are stored and the telemetry is generated as required immediately before transmission. This ensures that any slower computation required for unit conversion can be off-loaded to lower priority tasks.

Structs§

  • The telemetry structure is data that is ultimately reported as telemetry over MQTT.
  • The telemetry buffer is used for storing sample values during execution.
  • The telemetry client for reporting telemetry data over MQTT.