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.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dfae2941238e61e5bf6c005742359b3c1fbb3a0b560072504ccd8faafc169e3 |
|
MD5 | d0040cd29f49b01577066310e30fbef6 |
|
BLAKE2b-256 | d2812dabb89e212c642594757f3dbc94d7548e6b914600318551c81150db350e |
Close
Hashes for droneblocks_python_utils-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec5de0c0711af58663a12b4b59d19b88155a730d5e828ca18398f070d894be74 |
|
MD5 | 3a7b1aadc9a66e8e476c475009d214da |
|
BLAKE2b-256 | bdd300409c08b3f755ee6ee5a26ed212260fe8c5783af9d07e6ce9b441305d4f |