mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
removed unnecessary loop from main file
This commit is contained in:
@@ -65,7 +65,11 @@ of you can auto serve the ui by
|
||||
```
|
||||
npm run serve
|
||||
```
|
||||
|
||||
## Hardware
|
||||
this is important when choosing your sbc it is more important to have a good usb controller that a good cpu
|
||||
on the odroid xu4 which is very fast i have got many bottlenecks from the usb controller and many times making the program crach
|
||||
#### networking
|
||||
it is very important to install Bonjour
|
||||
|
||||
|
||||
## docs
|
||||
|
||||
@@ -31,6 +31,7 @@ def run():
|
||||
port += 1
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
settings_manager = SettingsManager()
|
||||
@@ -38,5 +39,3 @@ if __name__ == "__main__":
|
||||
server_thread = threading.Thread(target=run_server)
|
||||
server_thread.start()
|
||||
|
||||
while True:
|
||||
pass
|
||||
|
||||
@@ -111,7 +111,7 @@ class CameraHandler:
|
||||
#publishing to websocket at slower interval
|
||||
asyncio.set_event_loop(asyncio.new_event_loop())
|
||||
while True:
|
||||
time.sleep(0.05)
|
||||
time.sleep(0.1)
|
||||
if self.settings_manager.general_settings['curr_camera'] == self.cam_name:
|
||||
try:
|
||||
send_all_async({
|
||||
|
||||
Reference in New Issue
Block a user