Skip to main content

A Python library designed to control and interact with RoBeeX AI Drones

Project description

RoBeeX Logo

RoBeeX AI Drone Python API

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

pip install opencv-python

Install using pip

pip install robeex-ai-drone-api

From source

  1. Clone the repository:

    git clone https://github.com/RoBeeX-Robotics/robeex-ai-drone-python.git  
    cd robeex-ai-drone-python  
    
  2. Install dependencies using Poetry:

    pip install .
    

Usage

Example: Basic Flight

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

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/ directory to learn more about the capabilities of the API.

Project Structure

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

Contributing

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robeex_ai_drone_api-0.2.10.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robeex_ai_drone_api-0.2.10-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file robeex_ai_drone_api-0.2.10.tar.gz.

File metadata

  • Download URL: robeex_ai_drone_api-0.2.10.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.14 Linux/6.11.0-1018-azure

File hashes

Hashes for robeex_ai_drone_api-0.2.10.tar.gz
Algorithm Hash digest
SHA256 ddbfff36708f38a7a1f88d7e0d0221e3029404211d7bed9ce3d0d3769e955403
MD5 d66897220be400a5dcc6be6427e41763
BLAKE2b-256 1e5646d533e0a9c6bc873f37da93557cdae55c7cef00c5e3e11685647d593500

See more details on using hashes here.

File details

Details for the file robeex_ai_drone_api-0.2.10-py3-none-any.whl.

File metadata

  • Download URL: robeex_ai_drone_api-0.2.10-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.14 Linux/6.11.0-1018-azure

File hashes

Hashes for robeex_ai_drone_api-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 ad51d014d79422ffbda8c6f6dc42d4f696698a2fd579afd51752958dca07099c
MD5 4f1ecb9c26916268d83dc02166e60cc0
BLAKE2b-256 ba30050cd654323f52d7ae9f5fc1b23735bf2003c6ef37cfa8bf7d833df835d7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page