WARA-PS Sensors MQTT API
Overview
Sensor data channels for WARA-PS agent telemetry. These channels publish real-time sensor readings from agents at configurable rates.
Quick Start
Rates vary by channel and are set by the publishing agent -- there's no fixed schedule. A moving agent typically publishes at least Position, Speed, Heading, and Energy Level at a steady rate (a few Hz for position-like data, much slower for energy level), plus whichever of the other channels apply to it. Every channel here maps 1:1 to one of the sensor-data-provided values an agent already declared in its sensor_info message (see the Declarations spec).
Channels, Grouped by Category
Movement & Navigation -- recommended for any moving agent:
- Position — WGS84 coordinates (latitude, longitude, altitude).
- Speed — Speed over ground (m/s).
- Heading — Heading in degrees relative to north.
- Course — Course over ground in degrees relative to north.
- Waypoints — Remaining mission waypoints in WGS84 format.
Power -- recommended for all agents:
- Battery State — Voltage, current, and charge level. Optional for battery-powered agents.
- Energy Level — Energy as percentage of full.
Status & Configuration -- current agent state:
- Armable — Whether the agent can be armed.
- Mode — Current operating mode (e.g., GUIDED, MANUAL).
- State — Arming state (e.g., armed, disarmed).
- Cargo — List of collected cargo items. Optional for cargo-holding agents.
System & Connectivity -- infrequently-changing metadata:
- Control System Version — Software version of the agent's control system.
- IP Address — Agent's network address.
- Video Server URL — URL for camera feed restreaming.
Specification: waraps-api-sensors.json (AsyncAPI 3.1.0, JSON)
Servers
| Name | Protocol | Host | Description |
|---|---|---|---|
| localhost | mqtt 3.1.1+ | localhost:1883 | Development MQTT broker |
| production | mqtt 3.1.1+ | broker.waraps.org:8883 | Production MQTT broker |