Sends formation reference
PUB{agent-base-topic}/sensor/reference
Every agent with Swarm intent subscribes to this topic; a leader yields to a higher-ID rival's reference. The elected Swarm Leader publishes the anchor Formation Reference used by members to compute formation targets on change and every sensor interval.
MQTT
| QoS | 1 |
|---|
Message message
Sends formation reference
{
"swarm-id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"leader-id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"position": {
"latitude": 0,
"longitude": 0,
"altitude": 0
},
"speed": 0,
"published-at": "2024-07-29T15:51:28.071Z"
}