This folder upgrades the vehicle from a standalone prototype to a distributed robotics system.
- Connects to the ESP32 patrol API over Wi-Fi
- Polls telemetry and forwards it to MQTT topics
- Stores mission logs for assessment and report writing
- Enables integration with dashboards such as Node-RED or Grafana
-
Install Python 3.10+ on Raspberry Pi OS.
-
Install dependencies:
pip install -r requirements.txt
-
Run bridge:
python3 patrol_bridge.py --host 192.168.4.1 --mqtt-host localhost
- patrolcar/status/raw
- patrolcar/status/battery
- patrolcar/status/distance
- patrolcar/events/health
- Replace polling with WebSocket stream.
- Add camera pipeline and object detection trigger.
- Add mission planner that sends autonomous route points.