Ejemplo n.º 1
0
def update_images(ip, port):
	s = FileReceiver(9090, 9091)
	#line below stops thread when main program stops
	s.daemon = True
	s.start()
	videofeed = video_feed()
	videofeed.daemon=True
	videofeed.start()
Ejemplo n.º 2
0
def update_images(ip, port):
    s = FileReceiver(9090, 9091)
    #line below stops thread when main program stops
    s.daemon = True
    s.start()
    videofeed = video_feed()
    videofeed.daemon = True
    videofeed.start()
Ejemplo n.º 3
0
def update_sonar(ip, port):
	s = FileReceiver(9092, 9093)
	#line below stops thread when main program stops
	s.daemon = True
	s.start()
	sonarfeed = sonar_feed()
	sonarfeed.daemon=True
	sonarfeed.start()
from FileReceiver import *
from threading import *
import time

s = FileReceiver()
#line below stops thread when main program stops
s.daemon = True
s.start()

for i in range (10):
	print i
	time.sleep(1)