GithubHelp home page GithubHelp logo

isabella232 / pymavlink Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kellyschrock/pymavlink

0.0 0.0 0.0 6.91 MB

python MAVLink interface and utilities

License: Other

C++ 6.52% Makefile 0.27% Python 58.45% Shell 0.36% C 19.22% Objective-C 2.60% C# 2.56% Java 1.46% JavaScript 1.87% Swift 6.55% PureBasic 0.14%

pymavlink's Introduction

Build Status

Pymavlink

This is a python implementation of the MAVLink protocol.

Documentation

Please see http://ardupilot.org/dev/docs/mavlink-commands.html for documentation.

For realtime discussion please see the pymavlink gitter channel here https://gitter.im/ArduPilot/pymavlink

Installation

Recommendation

Pymavlink is currently a Python 2 package. It is recommended to install and use it with Python 2.

However an initial Python 3 support is given. The following instructions assume you are using Python 2 and a Debian-based (like Ubuntu) installation.

Dependencies

Pymavlink requires 3 dependencies :

- future : for python 2 and python 3 interoperability (http://python-future.org/)
- lxml : for checking and parsing xml file (http://lxml.de/installation.html)
- python-dev : for mavnative

On linux

lxml has some additional dependencies that can be installed with your package manager (here with apt-get) :

sudo apt-get install libxml2-dev libxslt-dev python-dev

Using pip you can install the required dependencies for pymavlink :

sudo pip2 install -U future lxml

The -U parameter allows updating future and lxml version if it is already installed.

On Windows

Use pip to install future as for linux. Lxml can be installed with a windows installer from here : https://pypi.python.org/pypi/lxml/3.6.0

Installation

For users

It is recommended to install pymavlink from PyPi with pip, that way dependencies should be auto install by pip.

sudo pip2 install -U pymavlink

The -U parameter allow to update pymavlink version if it is already installed.

For developers

On the pymavlink directory, you can use :

sudo MDEF=PATH_TO_message_definitions pip2 install . -v

The -v parameter will output the installation commands on the terminal. The MDEF usage is require as pip install is done from /tmp directory, so it is necessary to use MDEF variable to point on the message_definitions directory. Use pip should auto install dependencies and allow to keep them up-to-date with pip.

Or

sudo python2 setup.py install

Advance usage

Please see Pip documentation : https://pip.pypa.io/en/stable/

License


pymavlink is released under the GNU Lesser General Public License v3 or later.

Join the chat at https://gitter.im/ArduPilot/pymavlink

pymavlink's People

Contributors

amilcarlucas avatar andreasantener avatar arthurbenemann avatar brucecrevensten avatar dagar avatar dagoodma avatar geeksville avatar hamishwillee avatar jgoppert avatar jschall avatar julianoes avatar kd0aij avatar khancyr avatar lorenzmeier avatar m4gr3d avatar magicrub avatar malife avatar mday299 avatar mhkabir avatar modnovolyk avatar mpaperno avatar peterbarker avatar philipoe avatar pixhawk-students avatar rmackay9 avatar squilter avatar thomasgubler avatar tridge avatar vooon avatar wickedshell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.