Mercurial > hg > mood-conductor
diff visualclient/visclient.py @ 35:ea2ec5f95ad8
some changes to visclient before Barbican
author | gyorgyf |
---|---|
date | Thu, 20 Mar 2014 20:50:35 +0000 |
parents | fe04ff3547c7 |
children |
line wrap: on
line diff
--- a/visualclient/visclient.py Tue Jul 09 16:30:47 2013 +0100 +++ b/visualclient/visclient.py Thu Mar 20 20:50:35 2014 +0000 @@ -49,9 +49,9 @@ FRAMERATE = 60 # Connection: -IP = "127.0.0.1:8030" +# IP = "127.0.0.1:8030" # IP = "192.168.2.158:8030" -# IP = "138.37.95.215" +IP = "138.37.95.215" HTTP_TIMEOUT = 3 SERVER_UPDATE_INTERVAL = 0.8 @@ -267,8 +267,8 @@ '''Start the thread that reads data from the server.''' self.thread = Thread(target = self.update_thread) self.thread.daemon = True + self.running = True self.thread.start() - self.running = True print "OK. Update thread started." def stop_update_thread(self): @@ -281,6 +281,7 @@ def update_thread(self): '''The server update thread''' + print "Thread reporting..." while self.running : # self.update() try :