blob: 05877ed8116adb02a6b1c5d219b052081fbf5312 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
from bridge import Bridge
from fish_show import FishShow
from sunrise import SunriseShow
from constants import *
import sys
sys.path.append('webapp')
from run import server_thread, send_queue, recv_queue
def run_show():
server_thread.start()
bridge = Bridge()
SunriseShow(bridge, send_queue=recv_queue, recv_queue=send_queue).run(framerate=FRAME_RATE)
FishShow(bridge, send_queue=recv_queue, recv_queue=send_queue).run(framerate=FRAME_RATE)
print "done!"
run_show()
|