summaryrefslogtreecommitdiffstats
path: root/ShowRunner.py
blob: 8084691325f612f9615bf8a9d39468baca8d940e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from bridge import Bridge
from fish_show import FishShow
from sunrise import SunriseShow
from twinkle import TwinkleShow
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()
    #TwinkleShow(bridge, send_queue=recv_queue, recv_queue=send_queue).run(framerate=FRAME_RATE)
    #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()