%global _empty_manifest_terminate_build 0 Name: python-djitellopy Version: 2.4.0 Release: 1 Summary: Tello drone library including support for video streaming, swarms, state packets and more License: MIT URL: https://github.com/damiafuentes/DJITelloPy Source0: https://mirrors.nju.edu.cn/pypi/web/packages/03/20/688ec27c2d6bfcc984e64975ac707d5a521082efc4b7a20e65e68947b6fb/djitellopy-2.4.0.tar.gz BuildArch: noarch Requires: python3-numpy Requires: python3-opencv-python %description # DJITelloPy DJI Tello drone python interface using the official [Tello SDK](https://dl-cdn.ryzerobotics.com/downloads/tello/20180910/Tello%20SDK%20Documentation%20EN_1.3.pdf) and [Tello EDU SDK](https://dl-cdn.ryzerobotics.com/downloads/Tello/Tello%20SDK%202.0%20User%20Guide.pdf). This library has the following features: - implementation of all tello commands - easily retrieve a video stream - receive and parse state packets - control a swarm of drones - support for python >= 3.6 Feel free to contribute! ## Install using pip ``` pip install djitellopy ``` For Linux distributions with both python2 and python3 (e.g. Debian, Ubuntu, ...) you need to run ``` pip3 install djitellopy ``` ## Install in developer mode Using the commands below you can install the repository in an _editable_ way. This allows you to modify the library and use the modified version as if you had installed it regularly. ``` git clone https://github.com/damiafuentes/DJITelloPy.git cd DJITelloPy pip install -e . ``` ## Usage ### API Reference See [djitellopy.readthedocs.io](https://djitellopy.readthedocs.io/en/latest/) for a full reference of all classes and methods available. ### Simple example ```python from djitellopy import Tello tello = Tello() tello.connect() tello.takeoff() tello.move_left(100) tello.rotate_counter_clockwise(90) tello.move_forward(100) tello.land() ``` ### More examples In the [examples](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/) directory there are some code examples: - [taking a picture](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/take-picture.py) - [recording a video](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/record-video.py) - [flying a swarm (multiple Tellos at once)](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/simple-swarm.py) - [simple controlling using your keyboard](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/manual-control-opencv.py) - [mission pad detection](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/mission-pads.py) - [fully featured manual control using pygame](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/manual-control-pygame.py) ### Notes - If you are using the ```streamon``` command and the response is ```Unknown command``` means you have to update the Tello firmware. That can be done through the Tello app. - Mission pad detection and navigation is only supported by the Tello EDU. - Bright environment is necessary for successful use of mission pads. - Connecting to an existing wifi network is only supported by the Tello EDU. - When connected to an existing wifi network video streaming is not available. ## Authors * **Damià Fuentes Escoté** * **Jakob Löw** * [and more](https://github.com/damiafuentes/DJITelloPy/graphs/contributors) ## License This project is licensed under the MIT License - see the [LICENSE.txt](LICENSE.txt) file for details %package -n python3-djitellopy Summary: Tello drone library including support for video streaming, swarms, state packets and more Provides: python-djitellopy BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-djitellopy # DJITelloPy DJI Tello drone python interface using the official [Tello SDK](https://dl-cdn.ryzerobotics.com/downloads/tello/20180910/Tello%20SDK%20Documentation%20EN_1.3.pdf) and [Tello EDU SDK](https://dl-cdn.ryzerobotics.com/downloads/Tello/Tello%20SDK%202.0%20User%20Guide.pdf). This library has the following features: - implementation of all tello commands - easily retrieve a video stream - receive and parse state packets - control a swarm of drones - support for python >= 3.6 Feel free to contribute! ## Install using pip ``` pip install djitellopy ``` For Linux distributions with both python2 and python3 (e.g. Debian, Ubuntu, ...) you need to run ``` pip3 install djitellopy ``` ## Install in developer mode Using the commands below you can install the repository in an _editable_ way. This allows you to modify the library and use the modified version as if you had installed it regularly. ``` git clone https://github.com/damiafuentes/DJITelloPy.git cd DJITelloPy pip install -e . ``` ## Usage ### API Reference See [djitellopy.readthedocs.io](https://djitellopy.readthedocs.io/en/latest/) for a full reference of all classes and methods available. ### Simple example ```python from djitellopy import Tello tello = Tello() tello.connect() tello.takeoff() tello.move_left(100) tello.rotate_counter_clockwise(90) tello.move_forward(100) tello.land() ``` ### More examples In the [examples](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/) directory there are some code examples: - [taking a picture](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/take-picture.py) - [recording a video](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/record-video.py) - [flying a swarm (multiple Tellos at once)](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/simple-swarm.py) - [simple controlling using your keyboard](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/manual-control-opencv.py) - [mission pad detection](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/mission-pads.py) - [fully featured manual control using pygame](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/manual-control-pygame.py) ### Notes - If you are using the ```streamon``` command and the response is ```Unknown command``` means you have to update the Tello firmware. That can be done through the Tello app. - Mission pad detection and navigation is only supported by the Tello EDU. - Bright environment is necessary for successful use of mission pads. - Connecting to an existing wifi network is only supported by the Tello EDU. - When connected to an existing wifi network video streaming is not available. ## Authors * **Damià Fuentes Escoté** * **Jakob Löw** * [and more](https://github.com/damiafuentes/DJITelloPy/graphs/contributors) ## License This project is licensed under the MIT License - see the [LICENSE.txt](LICENSE.txt) file for details %package help Summary: Development documents and examples for djitellopy Provides: python3-djitellopy-doc %description help # DJITelloPy DJI Tello drone python interface using the official [Tello SDK](https://dl-cdn.ryzerobotics.com/downloads/tello/20180910/Tello%20SDK%20Documentation%20EN_1.3.pdf) and [Tello EDU SDK](https://dl-cdn.ryzerobotics.com/downloads/Tello/Tello%20SDK%202.0%20User%20Guide.pdf). This library has the following features: - implementation of all tello commands - easily retrieve a video stream - receive and parse state packets - control a swarm of drones - support for python >= 3.6 Feel free to contribute! ## Install using pip ``` pip install djitellopy ``` For Linux distributions with both python2 and python3 (e.g. Debian, Ubuntu, ...) you need to run ``` pip3 install djitellopy ``` ## Install in developer mode Using the commands below you can install the repository in an _editable_ way. This allows you to modify the library and use the modified version as if you had installed it regularly. ``` git clone https://github.com/damiafuentes/DJITelloPy.git cd DJITelloPy pip install -e . ``` ## Usage ### API Reference See [djitellopy.readthedocs.io](https://djitellopy.readthedocs.io/en/latest/) for a full reference of all classes and methods available. ### Simple example ```python from djitellopy import Tello tello = Tello() tello.connect() tello.takeoff() tello.move_left(100) tello.rotate_counter_clockwise(90) tello.move_forward(100) tello.land() ``` ### More examples In the [examples](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/) directory there are some code examples: - [taking a picture](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/take-picture.py) - [recording a video](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/record-video.py) - [flying a swarm (multiple Tellos at once)](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/simple-swarm.py) - [simple controlling using your keyboard](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/manual-control-opencv.py) - [mission pad detection](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/mission-pads.py) - [fully featured manual control using pygame](https://github.com/damiafuentes/DJITelloPy/tree/master/examples/manual-control-pygame.py) ### Notes - If you are using the ```streamon``` command and the response is ```Unknown command``` means you have to update the Tello firmware. That can be done through the Tello app. - Mission pad detection and navigation is only supported by the Tello EDU. - Bright environment is necessary for successful use of mission pads. - Connecting to an existing wifi network is only supported by the Tello EDU. - When connected to an existing wifi network video streaming is not available. ## Authors * **Damià Fuentes Escoté** * **Jakob Löw** * [and more](https://github.com/damiafuentes/DJITelloPy/graphs/contributors) ## License This project is licensed under the MIT License - see the [LICENSE.txt](LICENSE.txt) file for details %prep %autosetup -n djitellopy-2.4.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-djitellopy -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Thu May 18 2023 Python_Bot - 2.4.0-1 - Package Spec generated