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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6898055c582daed13c43e50ca8044bc9bedf9a608668a2edd8fd41766793301 |
|
MD5 | 151b3847b088631604da9106f118cf7c |
|
BLAKE2b-256 | fbb9987d4a844b0141a8e1e4f61a7af3e0788c803f978140b0dcc80e80d93477 |
Close
Hashes for droneblocks_python_utils-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 260b2d93effe40fc650cc19d22986bbfcf7012bffaed2f8c84c78c5d1a9277ea |
|
MD5 | b7c94810af5f8e4712f66503218ab513 |
|
BLAKE2b-256 | b78ea959c42c3bc4763b5d195d008b7df23103ad360c4ed52f9968f5a1a62d47 |