Receives agent swarm membership
SUB{agent-base-topic}/sensor/swarm_membership
The Agent's current Swarm intent and role, published as a sensor. Only the elected Swarm Leader subscribes to this topic across all agents (peer wildcard +/sensor/swarm_membership); members do not. Members may mix vehicle types (air, ground, surface), so the wildcard also matches the vehicle-type level. The shared AvailableSensors enum includes swarm_membership for Agent sensor_info declarations.
MQTT
| QoS | 0 |
|---|---|
| retain | false |
Message message
Receives agent swarm membership
{
"swarm-id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"role": "leader",
"swarm-name": "string"
}