Browse Source

update diagram

Noah Vogt 1 month ago
parent
commit
2c0af1efda
1 changed files with 21 additions and 20 deletions
  1. 21 20
      README.md

+ 21 - 20
README.md

@@ -30,26 +30,27 @@ See the following ascii diagram for the architecture.
                           | - Forward to selected cam    |
                           | - Handle HTTP API requests   |
                           |                              |
-                          |   +-----------------------+  |
-                          |   |     HTTP API (Flask)  |  |
-                          |   |-----------------------|  |
-                          |   | POST /target/set      |  |
-                          |   | GET  /target/get      |  |
-                          |   | POST /preset/goto     |  |
-                          |   | POST /preset/save     |  |
-                          |   +-----------------------+  |
+                          |   +----------------------+   |
+                          |   |     HTTP API         |   |
+                          |   |----------------------|   |
+                          |   | POST /target/set     |   |
+                          |   | GET  /target/get     |   |
+                          |   | POST /preset/goto    |   |
+                          |   | POST /preset/save    |   |
+                          |   +----------------------+   |
                           +------------------------------+
                                          |
-                    +--------------------+---------------------+
-                    |                                          |
-                    v                                          v
-      +-----------------------------+         +-----------------------------+
-      |  /dev/ttyUSBY (CAM1_PORT)   |         |  /dev/ttyUSBZ (CAM2_PORT)   |
-      |  [async serial writer]      |         |  [async serial writer]      |
-      +-----------------------------+         +-----------------------------+
-                    |                                          |
-                    v                                          v
-            +------------------+                     +------------------+
-            |   PTZ Camera 1   |                     |   PTZ Camera 2   |
-            +------------------+                     +------------------+
+                    +--------------------+------------------+
+                    |                                       |
+                    v                                       v
+      +----------------------------+         +----------------------------+
+      |  /dev/ttyUSBY (CAM1_PORT)  |         |  /dev/ttyUSBZ (CAM2_PORT)  |
+      |  [async serial writer]     |         |  [async serial writer]     |
+      +----------------------------+         +----------------------------+
+                    |                                        |
+                    v                                        v
+        +------------------------+              +------------------------+
+        |  PTZ Camera 1          |              |   PTZ Camera 2         |
+        |  (Pelco-D via RS-485)  |              |  (Pelco-D via RS-485)  |
+        +------------------------+              +------------------------+