Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacob-pitsenberger/tello-flight-routine-with-video-stream
Execute this Python script to have your Tello drone perform a basic flight routine while simultaneously streaming video from its forward-facing camera.
https://github.com/jacob-pitsenberger/tello-flight-routine-with-video-stream
djitellopy drone flight-automation opencv opencv-python python tello-sdk tellodrone
Last synced: 3 days ago
JSON representation
Execute this Python script to have your Tello drone perform a basic flight routine while simultaneously streaming video from its forward-facing camera.
- Host: GitHub
- URL: https://github.com/jacob-pitsenberger/tello-flight-routine-with-video-stream
- Owner: Jacob-Pitsenberger
- License: mit
- Created: 2024-03-22T19:25:28.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-02T17:02:15.000Z (8 months ago)
- Last Synced: 2024-04-02T18:24:29.111Z (8 months ago)
- Topics: djitellopy, drone, flight-automation, opencv, opencv-python, python, tello-sdk, tellodrone
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Tello Flight Routine with Video Stream
Execute this Python script to have your Tello drone perform a basic flight routine while simultaneously streaming video from its forward-facing camera. It employs the `djitellopy` library for drone interaction, threading for managing concurrent operations, and `OpenCV` for handling video frames. This setup showcases the seamless integration of drone flight automation with real-time video processing in Python.
## Project Overview
The script orchestrates a flight routine for the Tello drone, including taking off, executing movements in various directions, performing rotations, and finally, landing. Concurrently, it streams live video captured by the drone's camera, displaying it in real time. This dual functionality is achieved through Python's threading mechanism, enabling seamless and concurrent drone flight control and video streaming.
## Key Features
- **Concurrent Flight Control and Video Streaming**: Utilizes Python threading to ensure that drone flight commands and video streaming occur simultaneously, providing a smooth and integrated user experience.
- **Defined Flight Maneuvers**: Executes a predefined flight pattern that includes taking off, moving in specific directions, rotating, and landing, offering comprehensive control over the drone's movements.
- **Live Video Streaming**: Employs the `OpenCV` library to display live video from the drone's camera, offering real-time visual feedback of the drone's surroundings.
- **Stream Readiness Signaling**: Implements a threading event to signal when the video stream is ready, ensuring that flight commands are executed only after the video stream has been successfully initiated.## Dependencies
- `djitellopy`: A Python library for Tello drone control.
- `opencv-python`: The OpenCV library for real-time computer vision operations.## Author
Jacob Pitsenberger - 2024