EN - This project is a detailed GUI for UAVs such as drones and fixed-wing aircrafts. It allows you to control your UAV and perform autonomius tasks with visualized data. See Example Video for an overview of its features.
TR - Bu proje, dronelar ve sabit kanatlı İHA’lar için detaylı bir grafiksel arayüzdür. Proje, görselleştirilmiş veriler ile İHA'nızı kontrol etmenizi ve otonom görevler yapmanızı sağlar. Özelliklerine genel bir bakış için Örnek Video'ya göz atın.
You can select your preferred languages below:
The interface provides users with real-time telemetry data, the flight path on the map, control buttons, the route creation window, the UAV camera view, and log records.
- Features
- Installation
- SITL Simulation Installation
- Qt Designer Installation
- Used Technologies
- License
- Need help
-
Real-time Telemetry
-
Velocity, altitude and vertical speed indicators.
-
Monitoring of flight parameters such as yaw rate and heading angle.
-
Real-time display of Pitch (P) and Roll (R) angles.
-
-
UAV Camera View
- Live UAV camera feed
-
Flight Path Visualization on Map
-
UAV position displayed on the map during flight
-
Predefined waypoints shown on the map
-
Route lines visualizing UAV movement
-
-
Control and Mission Management
-
Arm / Disarm: Activate or deactivate motors
-
Take Off: Automated takeoff to a target altitude
-
RTL (Return to Launch): Return drone to home point
-
Set Waypoint: Add mission points directly on the map
-
Start Mission: Set the mode to AUTO
-
Flight mode selection (GUIDED, AUTO, etc.) with options
-
-
Mission and Flight Logs
- Timestamped log of all commands and mission statuses
git clone https://github.com/Mali03/UAV-interface.git
cd UAV-interface
pip install PyQt5 (If it doesn't work -> sudo apt install python3-pyqt5)
pip install PyQtWebEngine (If it doesn't work -> sudo apt install python3-pyqt5.qtwebengine)
python gui.py
For testing go SITL Simulation Installation
Step-by-step guide to test GUI on simulation
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git
sudo apt-get install gitk git-gui
git clone https://github.com/ArduPilot/ardupilot.git
cd ardupilot
git submodule update --init --recursive
sudo apt install python-matplotlib python-serial python-wxgtk4.0 python-wxtools python-lxml python-scipy python-opencv ccache gawk python-pip python-pexpect
gedit ~/.bashrc
// put this 2 code to the end and save
export PATH=$PATH:$HOME/ardupilot/Tools/autotest
export PATH=/usr/lib/ccache:$PATH
. ~/.bashrc
sudo pip install future pymavlink MAVProxy
cd ~/ardupilot/ArduCopter
../Tools/autotest/sim_vehicle.py -w
Select ip and port to udpin:localhost:14550 and click on Bağlan button.
If you want to test camera view transmission, after connection has finished execute the client_camera.py file.
You can design the interface with opening .ui files in Qt Designer.
After editing the .ui file you need to convert .ui to .py with executing this commands:
pyuic5 -x windows/MainWindow.ui -o windows/MainWindow.py
or python3 -m PyQt5.uic.pyuic -x windows/MainWindow.ui -o windows/MainWindow.py.
sudo apt-get install qttools5-dev-tools
sudo apt-get install qttools5-dev
- PyQT5 (Qt Framework) and PyQtWebEngine (Map integration)
- PyMavlink (Mavlink protocol)
- Folium (Map)
- Opencv-python (Camera)
- Socket (Live camera view transmission)
This project is licensed under the MIT License - see the LICENSE file for details.
If you need any help contact me on LinkedIn.
Arayüz, gerçek zamanlı telemetri verilerini, harita üzerinde uçuş rotasını, kontrol butonlarını, rota oluşturma penceresini, İHA kamera görüntüsünü ve log kayıtlarını kullanıcıya sunar.
- Özellikler
- Kurulum
- SITL Simülasyon Kurulumu
- Qt Designer Kurulumu
- Kullanılan Teknolojiler
- Lisans
- Yardım
-
Gerçek Zamanli Telemetri
-
Hız, yükseklik and dikey hız göstergeleri.
-
Yaw açısı, baş açısı gibi uçuş parametrelerini görüntüleme
-
Pitch (P) ve Roll (R) açılarının gerçek zamanlı gösterimi.
-
-
İHA Kamera Görüntüsü
- Canlı İHA kamera yayını
-
Haritada Uçuş Rotası Görselleştirmesi
-
Uçuş sırasında haritada görüntülenen İHA konumu
-
Haritada gösterilen önceden tanımlanmış yol haritası
-
İHA hareketini görselleştiren rota çizgileri
-
-
Kontrol ve Görev Yönetimi
-
Arm / Disarm: Motorları aktif ve deaktif et
-
Take Off: Hedef irtifaya otonom kalkış yap
-
RTL (Return to Launch): Home noktasına geri dön
-
Waypoint Ayarla: Harita üzerinden görev noktası tanımla
-
Görevi Başlat: Mod'u AUTO'ya ayarla
-
Uçuş Modu Seç (GUIDED, AUTO, vs.)
-
-
Görev ve Uçuş Kayıtları
- Zaman damgalı tüm komut ve görev durumu kayıtları
git clone https://github.com/Mali03/UAV-interface.git
cd UAV-interface
pip install PyQt5 (If it doesn't work -> sudo apt install python3-pyqt5)
pip install PyQtWebEngine (If it doesn't work -> sudo apt install python3-pyqt5.qtwebengine)
python gui.py
Test etmek için SITL Simülasyon Kurulumu'e git
Adım adım arayüzü simülasyonda test etmek rehber
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git
sudo apt-get install gitk git-gui
git clone https://github.com/ArduPilot/ardupilot.git
cd ardupilot
git submodule update --init --recursive
sudo apt install python-matplotlib python-serial python-wxgtk4.0 python-wxtools python-lxml python-scipy python-opencv ccache gawk python-pip python-pexpect
gedit ~/.bashrc
// bu 2 kodu en sona koy ve kaydet
export PATH=$PATH:$HOME/ardupilot/Tools/autotest
export PATH=/usr/lib/ccache:$PATH
. ~/.bashrc
sudo pip install future pymavlink MAVProxy
cd ~/ardupilot/ArduCopter
../Tools/autotest/sim_vehicle.py -w
IP ve portu udpin:localhost:14550 olarak seç ve Bağlan butonuna tıkla.
Kamera görüntü aktarımını test etmek için bağlandıktan sonra client_camera.py dosyasını çalıştır.
.ui dosyalarını Qt Designer üzerinden açarak arayüzü dizayn edebilirsiniz.
.ui dosyasını düzenledikten sonra .ui uzantısından .py uzantısına çevirmen için şu kodu çalıştırman gerekiyor:
pyuic5 -x windows/MainWindow.ui -o windows/MainWindow.py
veya python3 -m PyQt5.uic.pyuic -x windows/MainWindow.ui -o windows/MainWindow.py .
sudo apt-get install qttools5-dev-tools
sudo apt-get install qttools5-dev
- PyQT5 (Qt Framework'ü) and PyQtWebEngine (Harita Entegrasyonu)
- PyMavlink (Mavlink protokolü)
- Folium (Harita)
- Opencv-python (Kamera)
- Socket (Canlı kamera görüntü iletimi)
Bu proje MIT Lisans altında lisanslanmıştır - detaylar için LICENSE dosyasını incele.
Eğer bir yardıma ihtiyacın varsa bana LinkedIn üzerinden ulaş.
