Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bluday/multiwii-proxy-python
A simple and user-friendly Python 3 module for MultiWii-based drones.
https://github.com/bluday/multiwii-proxy-python
arduino drone multiwii python3
Last synced: 26 days ago
JSON representation
A simple and user-friendly Python 3 module for MultiWii-based drones.
- Host: GitHub
- URL: https://github.com/bluday/multiwii-proxy-python
- Owner: BluDay
- License: mit
- Created: 2018-06-24T20:16:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-04T22:50:31.000Z (7 months ago)
- Last Synced: 2024-06-04T23:34:37.441Z (7 months ago)
- Topics: arduino, drone, multiwii, python3
- Language: Python
- Homepage: https://bluday.github.io/multiwii-proxy-python/
- Size: 3.56 MB
- Stars: 16
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# multiwii-proxy-python
Simple and user-friendly Python 3 module for controlling drones via the MultiWii Serial Protocol (MSP) v1.
This module does not support MSP v2—or any of the newer versions.
## Documentation
The API documentation can be found on the [documentation site](https://bluday.github.io/multiwii-proxy-python/).
## Installation
Run either `pip install .` or `poetry build` to install the package:
## Usage
```python
from serial import Serialfrom multiwii import MultiWii
from multiwii.commands import MSP_IDENT
serial_port = Serial('/dev/ttyUSB0', baudrate=115200)
multiwii = MultiWii(serial_port)
ident = multiwii.get_data(MSP_IDENT)
print(repr(ident.multitype)) #
```Other example usages can be found in the `examples` directory.
## Licensing
This project is licensed under the MIT license. See [LICENSE](https://github.com/BluDay/multiwii-proxy-python/blob/master/LICENSE) for more details.