Control your DJI drone compatible with DJI Android SDK through Python
- Free software: BSD license
- Documentation: https://dji-asdk-to-python.readthedocs.io.
- Control your aircraft with virtual sticks
- Perform waypoint missions
- Get real time aircraft video streaming using OpenCV and GStreamer
- Precision landing using Aruco markers
- https://pygobject.readthedocs.io/en/latest/getting_started.html#ubuntu-logo-ubuntu-debian-logo-debian
- https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c#install-gstreamer-on-fedora
$ sudo apt-get update
$ sudo apt install -y libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev python3.8-dev gir1.2-gtk-3.0
$ sudo apt-get install -y libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
$ pip install dji-asdk-to-python
$ pip install git+https://github.com/PSBPOSAS/dji-asdk-to-python.git
$ pip install git+https://github.com/PSBPOSAS/dji-asdk-to-python.git@v0.1.0
$ pip uninstall dji-asdk-to-python
Check examples here https://github.com/PSBPOSAS/dji-asdk-to-python/tree/master/examples
import time
from dji_asdk_to_python.products.aircraft import Aircraft
drone = Aircraft("android_device_ip")
fc = drone.getFlightController()
fc.startTakeoff()
time.sleep(10)
fc.startLanding()
This wil generate a HTML version of your docs/
and open it in a
browser.
$ make docs
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.