Skip to content

Commit

Permalink
feat(scripts): remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
8BitJonny committed May 14, 2021
1 parent 97b86ac commit 6ab3dcb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions scripts/doubleStream.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
import picamera
from typing_extensions import Literal
import subprocess
import os
from datetime import datetime

PI_ADDR = 'raspberrypi.local'

Expand Down Expand Up @@ -58,9 +56,7 @@ def try_fnc(fnc):
try:
remote_socket_process = start_remote_socket()
pi_socket, pi_connection = create_socket_connection('raspberrypi.local', 'wrb')
print('Connected to pi')
backend_socket, backend_connection = create_socket_connection('192.168.0.127', 'wb')
print('Connected to backend')

with picamera.PiCamera() as camera:
camera.resolution = (1640, 1232)
Expand Down
3 changes: 0 additions & 3 deletions scripts/doubleStreamRemote.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@
import struct
from time import sleep
import picamera
from datetime import datetime


server_socket = socket.socket()
server_socket.bind(('0.0.0.0', 8000))
server_socket.listen(10)
print('Listening for Ws Connection', datetime.now().strftime("%Y-%m-%dT%H-%M-%S"))
connection = server_socket.accept()[0].makefile('wrb')
print('Connected')

try:
with picamera.PiCamera() as camera:
Expand Down

0 comments on commit 6ab3dcb

Please sign in to comment.