Spaces:
Configuration error
Configuration error
# π DeepDrone - AI-Powered Drone Control Terminal | |
<img src="media/demo.png" alt="DeepDrone Demo" width="800"> | |
**Control drones with natural language using AI models like OpenAI, Anthropic, Google, Meta, Mistral, and local Ollama models.** | |
## π Quick Start | |
```bash | |
# 1. Install dependencies | |
pip install -r requirements.txt | |
# 2. Start interactive setup | |
python main.py | |
``` | |
The app will guide you through: | |
- **AI Provider Selection**: Choose from 6 providers (OpenAI, Anthropic, Google, Meta, Mistral, Ollama) | |
- **Model Selection**: Pick your AI model (local Ollama models auto-detected) | |
- **Drone Connection**: Connect to simulator or real drone | |
- **Natural Language Control**: "Take off to 30 meters", "Fly in a square pattern" | |
## β¨ Features | |
- π€ **Multi-AI Support**: Works with cloud and local AI models | |
- π **Real Drone Control**: DroneKit integration for actual flight control | |
- π¬ **Natural Language**: Control drones with conversational commands | |
- π οΈ **Built-in Simulator**: Includes drone simulator for testing | |
- π **Safe Operations**: Emergency stops and return-to-home functions | |
## π οΈ Simulator Setup | |
```bash | |
# Quick simulator (included) | |
python simulate_drone.py | |
# Advanced SITL (optional) | |
# Follow ArduPilot SITL installation guide | |
``` | |
## π Example Commands | |
``` | |
π DeepDrone> Connect to simulator and take off to 20 meters | |
π DeepDrone> Fly to GPS coordinates 37.7749, -122.4194 | |
π DeepDrone> Execute a square flight pattern with 50m sides | |
π DeepDrone> Return home and land safely | |
``` | |
## π§ Requirements | |
- Python 3.8+ | |
- DroneKit-Python | |
- LiteLLM for cloud models | |
- Ollama for local models (optional) | |
## π» Tech Stack | |
- **LiteLLM** - Unified interface for cloud AI models (OpenAI, Anthropic, Google, etc.) | |
- **Ollama** - Local AI model execution and management | |
- **DroneKit-Python** - Real drone control and telemetry | |
- **Rich** - Beautiful terminal interface and formatting | |
- **Typer** - Command-line interface framework | |
- **Pydantic** - Configuration management and validation |