A Python library designed to control and interact with RoBeeX AI Drones
Project description
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
-
Clone the repository:
git clone https://github.com/RoBeeX-Robotics/robeex-ai-drone-python.git cd robeex-ai-drone-python
-
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
- RoBeeX Robotics - robeex.robotics@gmail.com
Contributing
Contributions are welcome! Feel free to submit issues or pull requests.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddbfff36708f38a7a1f88d7e0d0221e3029404211d7bed9ce3d0d3769e955403
|
|
| MD5 |
d66897220be400a5dcc6be6427e41763
|
|
| BLAKE2b-256 |
1e5646d533e0a9c6bc873f37da93557cdae55c7cef00c5e3e11685647d593500
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad51d014d79422ffbda8c6f6dc42d4f696698a2fd579afd51752958dca07099c
|
|
| MD5 |
4f1ecb9c26916268d83dc02166e60cc0
|
|
| BLAKE2b-256 |
ba30050cd654323f52d7ae9f5fc1b23735bf2003c6ef37cfa8bf7d833df835d7
|