Skip to content

MQTT Protocol

ahthae edited this page Nov 19, 2024 · 11 revisions

Overview

Topics are organized into top-level commands and telemetry topics. Payloads are JSON.

Telemetry Topics

Telemetry topics are under the telemetry top-level topic, then by location on the vehicle, then by sensor type. e.g., telemetry/injector/temperature.

telemetry/chamber/pressure
telemetry/chamber/temperature
telemetry/supply/pressure
telemetry/tank/fuel/pressure
telemetry/tank/oxidizer/pressure
telemetry/tank/vent/temperature
telemetry/tank/weight/1
telemetry/tank/weight/2
telemetry/tank/weight/3
telemetry/tank/weight/4
telemetry/thrust

Telemetry Payload

{
  "timestamp": <unix time in milliseconds>,
  "value": 309.1,
  "unit": "psi"
}

Command Topics

Command topics are under the commands top-level topic.

commands
commands/valves/dump
commands/valves/fuel
commands/valves/oxidizer
commands/valves/fill

Commands

ABORT
IGNITE

Valve Command Payload

{
  "command": <"open" / "close" / "move">,
  "position": <angle in degrees>
}

Clone this wiki locally