xumeng367/DroneDetour
关于
DroneDetour 是一个用于无人机路径规划和自动绕行导航的 Java 库及 Android 示例。它可以计算绕过多边形禁飞区的最短安全路线。
开发工具可以做什么
- 🚫 Support for multiple polygonal no-fly zones
- 🧭 Automatic shortest detour route calculation
- ⚙️ Configurable safeBuffer (e.g., 10 meters)
- 📱 Android demo for visualization and testing
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文✈️ DroneDetour
Making every drone flight safe and intelligent
DroneDetour ✈️
DroneDetour is a Java-based library with an Android demo that implements an intelligent UAV detour path planning algorithm.
It enables autonomous drones to calculate the shortest safe flight route around multiple polygonal no-fly zones, ensuring reliable navigation even under GPS-degraded or restricted environments.
🌟 Features
- 🚫 Support for multiple polygonal no-fly zones
- 🧭 Automatic shortest detour route calculation
- ⚙️ Configurable safeBuffer (e.g., 10 meters)
- 📱 Android demo for visualization and testing
- 💡 Pure Java library — easy to integrate into flight control or simulation systems
🚀 Quick Start
🔧 1. Add the library to your Android project
Copy the lib_detour module into your project.
🧩 2. Initialize and compute a detour path
List<MyLatLng> noFlyZone = new ArrayList<MyLatLng>();
noFlyZone.add(.);//no fly zone border point
List<List<MyLatLng>> noFlyZones = new ArrayList<List<MyLatLng>>();
noFlyZones.add(noFlyZone);
//1. update no fly zones
DetourPathManager.getsInstance().updateNoFlyZones(noFlyZones);
//2. calculate the shortest detour path
MyLatLng startPoint = new MyLatLng(36.1234132, 120.333345);
MyLatLng endPoint = new MyLatLng(36.1234132, 120.333345);
//3. get the detour path
List<MyLatLng> detourPath = DetourPathManager.getsInstance().calculateDetourPath(List.of(startPoint, endPoint));
🎯 Drone Detour Demo
📱 Screenshot
Operation demo video

Default demo screen

Across noFlyZones

Detour path

🚀 Future Roadmap
Machine Learning-based path optimization
Swarm coordination algorithms
Real-time weather integration
Extended no-fly zone database
👨💻 Author
Meng Xu(许萌)
📧 [email protected]
💻 GitHub: xumeng367
📜 License
This project is licensed under the MIT License.
You are free to use, modify, and distribute it — but please retain author attribution.
⭐ Support the Project
If you find DroneDetour useful, please give us a star ⭐ on GitHub! This helps us reach more developers and continue improving the library.
Made with ❤️ by Meng Xu
Making every drone flight safe and intelligent.
探索相关项目
加载中…