How hassaanas/tod works
This repository implements a Kubernetes-deployed tele-operated-driving testbed: control and telemetry messages use MQTT topics, with the edge broker acting as the hub for OBU and RDS. The principal documented path is a command routed through brokers to the site microservices, with responses/telemetry returning through MQTT; the README does not specify which service handles each topic, so those links are left unverified. Direction, cruise, speed, cloud deployment, and Prometheus are represented. Service nodes stand for deployments repeated across the four clusters; only the edge-to-remote bridge relationship is explicitly documented.
Main entry points: broker Edge MQTT hub · ms-direction Direction service · ms-cruise Cruise service · ms-speed Speed service
Components 15
Site Brokers
- Edge MQTT hub
edge-node/broker - OBU broker
obu-node/broker - RDS broker
rds-node/broker - Cloud broker
cloud-node/broker
Driving Services
- Direction service
edge-node/ms-direction - Cruise service
edge-node/ms-cruise - Speed service
edge-node/ms-speed
Monitoring
- Prometheus
prometheus/deployment-prometheus-v2.yaml
MQTT Experiments
- Timestamp publisher
tod-code/experiments/pub-timestamp.py - Timestamp subscriber
tod-code/experiments/sub-timestamp.py - Direction logger
tod-code/experiments/amf-sub-direction.py - Speed logger
tod-code/experiments/amf-sub-speed-2.py - MQTT logger
tod-code/experiments/amf-sub.py - Pod stress tool
tod-code/experiments/mem-cpu-stress.py
Other components
- Control client
Connections 11
- Control client → Edge MQTT hub: publishes commands
README.md - Edge MQTT hub → OBU broker: bridges set/get topics
README.md - Edge MQTT hub → RDS broker: bridges get/set topics
README.md - Direction service → Edge MQTT hub: uses MQTT
README.md - Cruise service → Edge MQTT hub: uses MQTT
README.md - Speed service → Edge MQTT hub: uses MQTT
README.md - Timestamp publisher → Edge MQTT hub: publishes timestamps
- Timestamp subscriber → Edge MQTT hub: subscribes to topic
- Direction logger → Edge MQTT hub: subscribes to topic
- Speed logger → Edge MQTT hub: subscribes to topic
- MQTT logger → Edge MQTT hub: subscribes to topic