havent started yet

This commit is contained in:
legop3
2025-11-04 19:28:09 -05:00
parent 939838de4e
commit 0111dea7cd
5 changed files with 112 additions and 1 deletions
+24
View File
@@ -0,0 +1,24 @@
# notes and ideas
## frontend
each frontend module will have a JSON state update over socket.io
each module will export a function to update it's state
use these functions to update all modules on connect, from a UI init state event.
this event will be sent all of the module data at once, in JSON
split each JSON element to the UI element functions
## esp-server comms
the ESP will report to the server when it connects:
rover's name
enable / disable for each motor
camera IP address
battery info (for different battery behaviors):
full number
warn number
urgent number