Metadata-Version: 2.3
Name: robeex-ai-drone-api
Version: 0.2.7
Summary: A Python library designed to control and interact with RoBeeX AI Drones
License: MIT
Author: RoBeeX Robotics
Author-email: robeex.robotics@gmail.com
Requires-Python: >=3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Project-URL: Homepage, https://robeex.com/?utm_source=pypi
Description-Content-Type: text/markdown

<p align="center">
  <a href="https://robeex.com/" target="blank"><img src="https://robeex.com/wp-content/uploads/2025/04/RoBeeX-logo-new-932x1024.webp" width="200" alt="RoBeeX Logo" /></a>
</p>

<p  style="font-size:2em;font-weight: 900" align="center">RoBeeX AI Drone Python API</p>


The **RoBeeX AI Drone Python API** is a Python library designed to control and interact with RoBeeX AI Drones. It provides features for navigation, RGB LED control, video streaming, and telemetry data retrieval.  

Website: https://robeex.com/

# Features  

- **Navigation API**: Control drone movement, takeoff, landing, and position setting.  
- **RGB LED API**: Customize LED colors and brightness for individual motors or all LEDs.  
- **Video Streaming**: Stream live video from the drone's camera using UDP.  
- **Telemetry**: Retrieve real-time telemetry data such as position, altitude, battery status, and more.  

# Installation  

### Requirements

Before using the library you should install OpenCV
```bash
pip install opencv-python
```

### Install using pip

```bash 
pip install robeex-ai-drone-api
```

### From source

1. Clone the repository:  
    ```bash  
    git clone https://github.com/RoBeeX-Robotics/robeex-ai-drone-python.git  
    cd robeex-ai-drone-python  
    ```  

2. Install dependencies using Poetry:  
    ```bash  
    pip install .
    ```  

# Usage  

### Example: Basic Flight  

```python  
from robeex_ai_drone_api import RobeexAIDrone  
from time import sleep

def main():  
    drone = RobeexAIDrone(drone_ip="172.168.1.128")  
    drone.wait_for_telemetry()  
    drone.rc.nav.arm()  
    drone.rc.nav.takeoff(1.0)  
    sleep(5)  
    drone.rc.nav.land()  
    drone.rc.nav.disarm()  

if __name__ == "__main__":  
    main()
```  

### Example: RGB LED Control  

```python  
from robeex_ai_drone_api import RobeexAIDrone  

drone = RobeexAIDrone(drone_ip="172.168.1.128")  
drone.rc.rgb.set_full_color(255, 0, 0)  # Set all LEDs to red  
```  

### More Examples  

Explore additional examples in the [`examples/`](./examples/) directory to learn more about the capabilities of the API.  

# Project Structure  

```plaintext  
robeex-ai-drone-python/  
├── examples/  
│   ├── flight-path/  
│   │   ├── flight.py  
│   │   ├── generate-circle.py  
│   │   ├── generate-text-cords.py  
│   ├── camera_stream.py  
│   ├── hand-detection.py  
│   ├── rgb.py  
│   ├── rgb-to-hue.py  
│   ├── telem.py  
│   └── test-flight.py  
├── src/  
│   └── robeex_ai_drone_api
```  

# License  

This project is licensed under the MIT License.  

# Authors  

- **RoBeeX Robotics** - [robeex.robotics@gmail.com](mailto:robeex.robotics@gmail.com)  

# Contributing  

Contributions are welcome! Feel free to submit issues or pull requests.  

