Questions tagged [tello-drone]

36 questions
0
votes
0 answers

Flying dji tello with python : How to map a room?

(Python) I did a program that make fly my drone using a very basic pattern : If the drone isnt close to à wall,she goes forward. If the drone is a bit close to the wall, she slows down, if she's really close, she stops,then rotates,and does it…
0
votes
0 answers

How to Convert tensorflow 1.x saved model to frozen inference graph?

In Tensorflow Objecet Detection, I trained an SSD MobileNet V2 model. Now I'm trying to convert the saved_model to a frozen inference graph so I can use it in the Tello drone to detect cars, but I'm really confused as to how to do it. I followed…
0
votes
1 answer

How to make stream from Tello SDK 2.0 captured by opencv with cv2.VideoCapture()

I want to write a code, showing stream from tello with yolov5 torch model in real-time with low latency. But I am stuck with how to use cv2.VideoCapture() with tello. from threading import Thread from djitellopy import Tello import cv2, math,…
Zoe
  • 9
  • 3
0
votes
2 answers

Did not receive state packet from Tello error

I'm facing a 'Did not receive state packet from Tello' error when trying to execute the below code in anaconda environment. Can someone help on this please? from djitellopy import tello from time import sleep me =…
0
votes
1 answer

'No command land 'P' error message after takeoff using djitellopy

I have written this very simple code: from djitellopy import Tello import time tello=Tello tello.takeoff() # works just fine! time.sleep(2) tello.land() # returns error! If there is any help I would appreciate it greatly!
0
votes
2 answers

Tello Can't Land

I was trying to control Tello by python, but the drone couldn't land; it always shows the decryption of the message in the drone was wrong. Here's the output: [INFO] tello.py - 421 - Send command: 'land' [INFO] tello.py - 445 - Response land:…
Apple Sun
  • 33
  • 1
  • 4
0
votes
0 answers

Is there a way to minimize the latency of streaming tello drone with python?

I used djitellopy library to control my Tello drone. But the problem is the latency of the video stream. This is the minimal example of video streaming with Tello drone: from djitellopy import tello import cv2 drone =…
0
votes
2 answers

How to make a tello drone fly indefinitely while something is happening?

I am writing a tello drone control program. I need to make the drone fly while a key is pressed on the keyboard otherwise it stops. Here is my code: class Keybord_Recognition(QtCore.QObject): def __init__(self, drone): …
Hallteon
  • 57
  • 2
  • 11
0
votes
1 answer

Problems connecting Tello Drone camera in Python for a GUI

I'm a very Python and Tkinter beginner. I've developed a program for Tello Drone in Python 3.6. The program works well but now I'm programming the user interface with Tkinter. When i use the image from the laptop camera it works well, but when I try…
0
votes
1 answer

Gstreamer UDP stream from Tello drone into RTP

I am trying to use Gstreamer to stream video from Tello drone into RTP, so that to use it further with jetson inference. The computer to receive the UDP packages is Jetson Nano. The most succesful command till now was gst-launch-1.0 -v udpsrc…
0
votes
1 answer

How could I stop or delay a Pygame timer, which is linked to an User event?

I'm new to python, but I'm trying to learn it by myself for a university course. Therefore I have to program a pygame window that represents a drone fly zone (The drone should fly automated like a search helicopter in a given area and on the window…
0
votes
1 answer

How Do I Create New Threads/Kill Alive Threads for a Button in Tkinter?

I'm currently working on a Tkinter GUI for my DJI Tello, and I'm trying to make it so that when I command the drone to takeoff/land, the streamed video on the GUI does not freeze. I'm not too familiar with multithreading, but I looked the issue up…
Chubbyman
  • 73
  • 1
  • 6
0
votes
1 answer

Unable to read UDP packets

I have a little problem concerning my python script that communicates with my drone. My program works perfectly fine but after sending the command "streamon" to the drone I should receive the video stream of the drone. However I dont get anything.…
Polo
  • 89
  • 1
  • 8
0
votes
3 answers

Unable to receive vídeo Stream from tello drone

I am writhing a python script in order to communicate to my tello drone via wifi. Once connected with the drone I can send UDP packets to send commands (this works perfectly fine). I want to receive the video stream from the drone via UDP packets…
Polo
  • 89
  • 1
  • 8
0
votes
0 answers

FFmpeg video is very distorted after a pixel-perfect start

I am using the following FFMpeg command to convert a H.264 UDP streamed video from a Tello drone to another address. ffmpeg -i udp://0.0.0.0:11111 -preset ultrafast -vcodec libx264 -tune zerolatency -b 900k -f h264 udp://127.0.0.1:5000 Then I…
AlvinfromDiaspar
  • 6,611
  • 13
  • 75
  • 140