From 1ff8400e043142a131b66527b06d8ab1ed4a14ba Mon Sep 17 00:00:00 2001 From: filipgrabowiecki <150305613+filipgrabowiecki@users.noreply.github.com> Date: Tue, 16 Apr 2024 19:12:51 +0200 Subject: [PATCH] =?UTF-8?q?dzia=C5=82a=20jak=20natura=20chcia=C5=82a?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tak (poprawka) --- main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 32ccf65..dd39cd9 100644 --- a/main.py +++ b/main.py @@ -7,6 +7,9 @@ import cv2 from pyzbar.pyzbar import decode import numpy as np +global czy_hubert_to_debil +czy_hubert_to_debil = True + class TelloDrone(): drone = Tello() start = time.time() @@ -59,7 +62,6 @@ class TelloDrone(): print(f"TEMPERATURE: {self.drone.get_temperature()}\n") def graphs(self): - x = [] pitch = [] yaw = [] @@ -73,7 +75,6 @@ class TelloDrone(): is_alive = True while not self.has_landed: - x.append(cnt) pitch.append(self.drone.get_pitch()) yaw.append(self.drone.get_yaw())