summaryrefslogtreecommitdiff
path: root/server2.py
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2015-01-17 21:05:39 +0100
committerFlorian Jung <flo@windfisch.org>2015-01-17 21:05:39 +0100
commit3909e2995cac69255ab6ca92154040f7a550b0bc (patch)
treec8e0c520b6f16edd4ccf01108a37288c4dbb2b82 /server2.py
parent5aad6a235a829255b6657ccef98436d6497105e7 (diff)
moar stuff
Diffstat (limited to 'server2.py')
-rw-r--r--server2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/server2.py b/server2.py
index 2066231..b2efe5f 100644
--- a/server2.py
+++ b/server2.py
@@ -50,6 +50,8 @@ while True:
batt = 100.0
framestr = frame.tostring()
+ cv2.imshow("server", frame)
+ cv2.waitKey(1)
lenframestr=len(framestr)
connection.sendall(struct.pack(">i",lenframestr)+framestr+struct.pack("@dddd", phi, theta, psi, batt));
elif data[0:3] == "fly" and data[-1]=="\n":