summaryrefslogtreecommitdiffstats
path: root/ShowRunner.py
blob: 5fa46e7382e2b6c7f5d1bb024a165203218d1c6d (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()
    #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)
    TwinkleShow(bridge, send_queue=recv_queue, recv_queue=send_queue).run(framerate=FRAME_RATE)
    print "done!"

run_show()