musabgulfam / mav

Rust crates for the MAVLink lightweight messaging protocol for communicating with drones (and between onboard drone components).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MAV

The Rust book for Drones

You can run the Rust book for drones by using mdbook:

mdbook serve

MAV-SDK

A MAVSDK gRPC client ( HTTP/2 ) for communicating with a drone, built from proto files using tonic.

You need to be running MAVSDK Server (see https://github.com/mavlink/MAVSDK/releases).

Run PX4, Gazebo and MAVSDK Server with docker-compose

docker-compose up --detach

Take it to the skies

cargo run -p mav_sdk --example takeoff

Simulation

Gazebo with PX4

Useful documentation regarding the Gazebo simulation and the PX4 flight software:

ArduPilot

SITL (Software in the loop)

Docker images:

Gazebo

Gazebo doesn't yet have built-in support for ArduPilot and it requires a plugin to be installed.

Connecting to remote gazebo server:

https://answers.gazebosim.org/question/7117/running-gzserver-on-ec2-and-gzclient-locally-is-not-working/?answer=7172#post-id-7172

GAZEBO_IP=172.23.3.104 GAZEBO_MASTER_URI=172.23.1.170:12345 gzclient

MAVLink

About

Rust crates for the MAVLink lightweight messaging protocol for communicating with drones (and between onboard drone components).


Languages

Language:Rust 100.0%