Skip to content

API and library for MAVLink compatible systems written in C++17

License

Notifications You must be signed in to change notification settings

pavloblindnology/MAVSDK

 
 

Repository files navigation

MAVSDK

GitHub Actions Status Coverage Status

Description

MAVSDK is a set of libraries providing a high-level API to MAVLink. It aims to be:

  • Easy to use with a simple API supporting both synchronous (blocking) API calls and asynchronous API calls using callbacks.
  • Fast and lightweight.
  • Cross-platform (Linux, macOS, Windows, iOS, Android).
  • Extensible (using the MavlinkPassthrough plugin).
  • Fully compliant with the MAVLink standard/definitions.

In order to support multiple programming languages, MAVSDK implements a gRPC server in C++ which allows clients in different programming languages to connect to. The API is defined by the proto IDL (proto files). This architecture allows the clients to be implemented in idiomatic patterns, so using the tooling and syntax expected by end users. For example, the Python library can be installed from PyPi using pip.

The MAVSDK C++ part consists of:

  • The core library implementing the basic MAVLink communication.
  • The plugin libraries implementing the MAVLink communication specific to a feature.
  • The mavsdk_server implementing the gRPC server for the language clients.

Repos

  • MAVSDK - this repo containing the source code for the C++ core.
  • MAVSDK-Proto - Common interface definitions for API specified as proto files used by gRPC between language clients and mavsdk_server.
  • MAVSDK-Python - MAVSDK client for Python (first released on Pypi 2019).
  • MAVSDK-Swift - MAVSDK client for Swift (used in production, first released 2018).
  • MAVSDK-Java - MAVSDK client for Java (first released on MavenCentral in 2019).
  • MAVSDK-JavaScript - MAVSDK client in JavaScript (proof of concept, 2019).
  • MAVSDK-Rust - MAVSDK client for Rust (proof of concept, 2019).
  • MAVSDK-CSharp - MAVSDK client for CSharp (proof of concept, 2019).
  • Docs - MAVSDK docs source.

Docs

Instructions for how to use the C++ library can be found in the MAVSDK docs (links to other programming languages can be found from the documentation sidebar).

Quick Links:

License

This project is licensed under the permissive BSD 3-clause, see LICENSE.md.

Maintenance

This project is maintained by volunteers:

Maintenance is not sponsored by any company, however, hosting of the docs and the forum is provided by the Dronecode Foundation.

Support and issues

If you just have a question, consider asking in the forum.

If you have run into an issue, discovered a bug, or want to request a feature, create an issue. If it is important or urgent to you, consider sponsoring any of the maintainers to move the issue up on their todo list.

If you need private support, consider paid consulting:

(Create a pull request if you wish to be listed here.)

About

API and library for MAVLink compatible systems written in C++17

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 93.1%
  • CMake 2.8%
  • Python 1.5%
  • Jinja 1.3%
  • Shell 1.1%
  • C 0.2%