summaryrefslogtreecommitdiff
path: root/server2.py
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2015-03-18 22:49:13 +0100
committerFlorian Jung <flo@windfisch.org>2015-03-18 22:49:13 +0100
commite92d85605931d47c5abb5937c86a3af39bc873ce (patch)
tree45714776399bc1794f17b2220459d55704b26129 /server2.py
parentb26209f4ee7a1cb6d69a232848a48276adbc7605 (diff)
BSD license
Diffstat (limited to 'server2.py')
-rw-r--r--server2.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/server2.py b/server2.py
index 56cadc1..587b5e5 100644
--- a/server2.py
+++ b/server2.py
@@ -1,3 +1,32 @@
+# AR Drone control dummy server
+# Copyright (C) 2015 Florian Jung
+# All rights reserved. Licensed under the 3-clause-BSD-license as follows:
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# 1. Redistributions of source code must retain the above copyright notice, this
+# list of conditions and the following disclaimer.
+#
+# 2. Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+#
+# 3. Neither the name of the copyright holder nor the names of its contributors
+# may be used to endorse or promote products derived from this software without
+# specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
import cv2
import os
import socket