mavlink / MAVSDK-Rust

MAVSDK client for Rust. https://mavsdk.mavlink.io
16 stars 8 forks source link

MAVSDK-Rust

This is the Rust wrapper for MAVSDK.

The Rust wrapper is based on a gRPC client communicating with the gRPC server written in C++. The wrapper is potentially auto-generated from the message definitions (proto files).

Update Rust for async/await support (first time)

$ rustup update

Build

note that building mavsdk-rust requires the protoc compiler to be installed.

$ cargo build

Run examples

  1. Run MAVSDK Backend on localhost:50051
  2. Run examples
    $ cargo run --example info
    $ cargo run --example mocap
    $ cargo run --example telemetry

Expected examples output