mavrouter 0.1.1

MAVLink router
Documentation

mavrouter-rs

CI codecov crates.io docs.rs License

A MAVLink router for embedded systems.

Quick Start

Install from crates.io:

cargo install mavrouter

Basic usage:

# Create config file
cat > mavrouter.toml <<EOF
[general]
tcp_port = 5760
[[endpoint]]
type = "serial"
device = "/dev/ttyACM0"
baud = 115200
EOF

# Run the router
mavrouter-rs --config mavrouter.toml

Usage

Build

cargo build --release

Configuration

Example mavrouter.toml:

[general]
tcp_port = 5760
log = "logs"
log_telemetry = true
bus_capacity = 1000
routing_table_ttl_secs = 300

[[endpoint]]
type = "serial"
device = "/dev/ttyACM0"
baud = 115200

[[endpoint]]
type = "udp"
address = "0.0.0.0:14550"
mode = "server"

Run

./target/release/mavrouter-rs --config mavrouter.toml