Skip to content

Simple and user-friendly Python 3 module for controlling drones via the MultiWii Serial Protocol (MSP) v1.

License

Notifications You must be signed in to change notification settings

BluDay/multiwii-proxy-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installation

Run either one of these commands to install the package:

python setup.py

pip install .

Usage

from serial import Serial

from 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)) # <MultiWiiMultitype.QuadX: 3>

Other example usages can be found in the examples directory.

Licensing

This project is licensed under the MIT license. See LICENSE for more details.

About

Simple and user-friendly Python 3 module for controlling drones via the MultiWii Serial Protocol (MSP) v1.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages