From 00110969772788a8899ddc6ddbba8500d0a8e8d4 Mon Sep 17 00:00:00 2001 From: Sam Hos Date: Mon, 14 Oct 2024 14:34:45 +0200 Subject: [PATCH] INfrastructure update --- docs/Infrastructure/infrastructure.md | 64 +++++++++++++++++---------- 1 file changed, 40 insertions(+), 24 deletions(-) diff --git a/docs/Infrastructure/infrastructure.md b/docs/Infrastructure/infrastructure.md index 8b28dd9..626dfaf 100644 --- a/docs/Infrastructure/infrastructure.md +++ b/docs/Infrastructure/infrastructure.md @@ -2,35 +2,51 @@ ```mermaid classDiagram +Apache <--> Flask +Flask <--> MariaDB +ESP32 --> RPI : Wired communication +RPI <--> Wireguard : MQTT with a VPN connection +Wireguard <--> Flask + -VirtualMachine <--> RPI -Kobuki <--> RPI namespace Server { - class VirtualMachine { - +Apache() - +Flask() - +SocketServer() - +MariaDB() - Python/C++ - Database - Website - + class Wireguard { + +VPN() } + + class Apache { + +ReverseProxy() + } + + class MariaDB { + +Database() + } + + class Flask { + Python + +Webserver() + +endpoints communication() + } + + } -namespace robot { - class RPI { - Receiver - Sensors - C++ - +SocketClient() - +Kobuki() - } + namespace Kobuki { + class RPI { + +KobukiCommunication() + +ESP32Communication() + C++ + } - class Kobuki { - +data - } - + class ESP32 { + +TVOC() + +ECO2() + +Temperature() + +LDR() + +Camera() + +GPS() + +ToF() + } } -``` \ No newline at end of file +```