No project description provided
Project description
tello-ctrl a python package to control your Tello drone
This is a package to control your Tello Drone. A significant part of the code is from the TelloPy package from Hanyazou and the original GOBOT project (https://gobot.io/blog/2018/04/20/hello-tello-hacking-drones-with-go)
Compared with the existing package, tello-ctrl:
- has a nice documentation
- allows logging data in background
- allows recording video files (mkv) in background
- allows reading all the drone sensors using the so-called "low level protocol"
- can be used with Matlab thanks to the companion Matlab toolbox
Installation
You can clone the github repo or use the code or you can install the package using pip.
$ pip install tello-ctrl
Documentation
You can find the doc on the readthedocs website.
Examples
The documentation includes various examples in the "Getting started" examples.
from tello_ctrl import *
import time
drone = tello_ctrl()
drone.connect()
# request video stream and record a video file
drone.start_receiving_video(video_format='bgr24')
drone.start_recording_video_to_file('demo.mkv')
# log all the data into a csv file
drone.start_data_logging('demo.csv',sampling_time=0.5)
# let's fly
drone.takeoff()
drone.move_forward(15)
time.sleep(0.5)
drone.move_counter_clockwise(15)
time.sleep(0.5)
drone.land()
# stop recording to file and close video
drone.start_recording_video_to_file()
drone.start_receiving_video()
# stop data logging
drone.stop__data_logging()
# clean up
drone.quit()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tello-ctrl-1.0.7.tar.gz
(33.8 kB
view details)
Built Distribution
File details
Details for the file tello-ctrl-1.0.7.tar.gz
.
File metadata
- Download URL: tello-ctrl-1.0.7.tar.gz
- Upload date:
- Size: 33.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90c49796865f3c7a175f67acdb9ecd9586245981e0968c8fe792d3c3a89ce406 |
|
MD5 | 784c461f63f084e8f4fc77c7d3f34216 |
|
BLAKE2b-256 | 0ccd226f02f8bfab9495f068f67270a49ac72ef8a6a956be69462ce30abf2219 |
File details
Details for the file tello_ctrl-1.0.7-py3-none-any.whl
.
File metadata
- Download URL: tello_ctrl-1.0.7-py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddac6f9aad6394daa6d7853e9a705238fe83bd2d26ba31518954bd209b0d55b7 |
|
MD5 | 072af539f37089991e9b6fa35b91c1ff |
|
BLAKE2b-256 | 48256d4796cf5821c0d9b47575cba9bace11d373310ba9b5d503b987b291ac24 |