feat(simulator): virtual drone fleet data generator

One process per drone: seeded patrol kinematics, sensor streams at
realistic rates, detection events, hot current/ blocks sealed into
Hive-partitioned Parquet, and the compact UDP state broadcast with
peer RSSI derivation. Scales via docker compose --scale.
This commit is contained in:
2026-07-08 13:12:34 +01:00
parent 57e48e0b55
commit 3deaa382e1
11 changed files with 600 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
services:
drone:
build: .
# Scale the swarm: docker compose up --build --scale drone=${DRONE_COUNT:-5}
deploy:
replicas: ${DRONE_COUNT:-5}
environment:
FLIGHT_ID: ${FLIGHT_ID:-}
SEED: ${SEED:-42}
DURATION_S: ${DURATION_S:-120}
SPEEDUP: ${SPEEDUP:-1.0}
IMU_HZ: ${IMU_HZ:-50}
STATE_HZ: ${STATE_HZ:-5}
# Compose default bridge network: subnet-directed broadcast works
BROADCAST_ADDR: ${BROADCAST_ADDR:-255.255.255.255}
volumes:
- ./data:/data