Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bkbilly/parrot-gamepad
đšī¸ Parrot Anafi control with xbox controller
https://github.com/bkbilly/parrot-gamepad
anafi drone olympe xbox-controller
Last synced: 2 months ago
JSON representation
đšī¸ Parrot Anafi control with xbox controller
- Host: GitHub
- URL: https://github.com/bkbilly/parrot-gamepad
- Owner: bkbilly
- Created: 2022-01-28T23:06:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-24T17:17:43.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T22:10:46.345Z (3 months ago)
- Topics: anafi, drone, olympe, xbox-controller
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Parrot Anafi Gamepad
You can use an Xbox controller to control the Parrot Anafi drones.
Uses a client/server architecture which means that the controller can be connected to another computer.## Controlls
- **Right Bumper (5):** Keep pressing it to allow the other buttons to be pressed (Dead man's switch)
- **A (0):** Activate Piloting (Disables Skycontroller and enables gamepad control)
- **B (1):** Stop Piloting (Control using Skycontroller)
- **Select/Back button (8):** Land
- **Start button (9):** TakeOff
- **Left Stick:**
- **Up/Down:** Altitude
- **Left/Right:** Yaw
- **Right Stick:**
- **Up/Down:** Pitch
- **Left/Right:** Roll
- **DPad:**
- **Up/Down:** Gimbal control
- **Left/Right:** Zoom level## How to run
You might want to edit the Drone IP from the `drone_server.py` file and the server IP on the `controller.py` file.
```
pip install -r requirements.txt
python drone_server.py
python controller.py
```## Video Preview
[![Video Preview](https://img.youtube.com/vi/FveqGbSb510/0.jpg)](https://www.youtube.com/watch?v=FveqGbSb510)