droneblocks-python-utils-0.2.2
توضیحات
DroneBlocks Python Utilities
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | droneblocks-python-utils-0.2.2 |
| نام | droneblocks-python-utils |
| نسخه کتابخانه | 0.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Patrick Ryan, Dennis Baldwin |
| ایمیل نویسنده | db@droneblocks.io |
| آدرس صفحه اصلی | https://github.com/dbaldwin/DroneBlocks-Python-Utils |
| آدرس اینترنتی | https://pypi.org/project/droneblocks-python-utils/ |
| مجوز | MIT |
# 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
```shell
pip install droneblocks-python-utils
```
## Usage
### Simple Tello Example
```python
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
```python
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:
```shell
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.
نیازمندی
| مقدار | نام |
|---|---|
| ==4.5.5.62 | opencv-python |
| ==4.5.5.62 | opencv-contrib-python |
| ==0.5.4 | imutils |
| ==2.4 | djitellopy |
| ==0.12.19 | bottle |
نحوه نصب
نصب پکیج whl droneblocks-python-utils-0.2.2:
pip install droneblocks-python-utils-0.2.2.whl
نصب پکیج tar.gz droneblocks-python-utils-0.2.2:
pip install droneblocks-python-utils-0.2.2.tar.gz