DroneBlocks Python Utilities
Project description
DroneBlocks Python Utils
DroneBlocks Tello drone Python utilities used in many of the advanced Tello programming with Python courses.
Some of the features:
- DroneBlocksTello class that added Robomaster TT commands to the DJITelloPy Tello class
- Aruco marker utilities
- Video image effect utilities
- tello_script_runner to create an easy to use Tello script execution environment
Install using pip
pip install droneblocks-python-utils
Usage
Simple Tello Example
from droneblocks.DroneBlocksTello import DroneBlocksTello
tello = DroneBlocksTello()
tello.connect()
tello.takeoff()
tello.move_up(100)
tello.rotate_counter_clockwise(90)
tello.move_forward(100)
tello.land()
Simple Robomaster TT Example
from droneblocks.DroneBlocksTello import DroneBlocksTello
import time
tello = DroneBlocksTello()
tello.connect()
tello.clear_display()
tello.takeoff()
tello.display_heart()
tello.move_up(100)
tello.rotate_counter_clockwise(90)
tello.display_smile()
tello.move_forward(100)
time.sleep(2)
tello.clear_display()
tello.land()
Tello Example
in a terminal type:
python -m droneblocks.tello_web
You can then open a browser and type the following url:
http://localhost:8080
and you should see a web page that allows you to interact with the Tello.
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
Built Distribution
Close
Hashes for droneblocks-python-utils-0.1.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18cf7bc8ba3062329b06635d93a49a13d3dc4ebcfc57dea5c9b075cbc461d3d0 |
|
MD5 | 781dd6073b76485fd14277347346e058 |
|
BLAKE2b-256 | 06d3409714a84a65b43be76939ebff4f9f6a98234975b233f4cd9d74c735b8fe |
Close
Hashes for droneblocks_python_utils-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29a1fc97fdec27a9b5b188436e19371d5ea96c0f8a7729ccc81b57b5880cbddb |
|
MD5 | 6361c0e24ad65b857ba7213b2952a954 |
|
BLAKE2b-256 | 431f85e3113ab9f842ce58e4e1a1c3abd519b86fba695094b84dd5c98bb98acb |