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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e2c484362030bc6529af44f9fc7cab98edc67d8c118823a55047497c32671dc |
|
MD5 | 57d8dda4cd19034ea8679067107ebb56 |
|
BLAKE2b-256 | 24d75d6109011e68ab2f0cface080bf3dcf31c7c924cf55acac1123c0df8920e |
Close
Hashes for droneblocks_python_utils-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b879b14b3892942c01d3b31d59551e6f725c9d46c73a92a3058c4cbb89e7947f |
|
MD5 | e45ded79d74d1626c19a39042ef9af5c |
|
BLAKE2b-256 | 12e52c87ec8f4d9cb2cbb4a0f3d3c7bd03ef0c5826024b9859b1232872bd4911 |