Skip to content

Sitin/mavproxy-Docker

Repository files navigation

MAVProxy Docker

Publish Docker Update latest tag according to mavp2p

Containerized MAVProxy.

DockerHub.

This image is inspired by asciich/mavproxy and tries to remove some of its limitations.

Usage

If you have MAVLink device transmitting to host UDP 14540, then you can start with:

docker run -it sitin/mavproxy --master=udp:host.docker.internal:14540

You can omit -it if you don't want to connect to console.

Container supports all MAVProxy parameters. For example, if you want to proxy your connection to UDP 14551:

docker run -it sitin/mavproxy --master=udp:host.docker.internal:14540 --out=udp:host.docker.internal:14551

Devices

You can configure Docker to connect to devices (i.e. USB). For example, for /dev/ttyUSB0:

docker run --rm --device=/dev/ttyUSB0 -it sitin/mavproxy --master=/dev/ttyUSB0,57600

Some available devices:

  • /dev/ttyUSB0
  • /dev/ttyAMA0
  • /dev/ttyACM0

Volumes

You can save logs and state of MAVProxy by adding the following volumes:

  • :/var/log/mavproxy
  • :/mavproxy

X11

Set DISPLAY=host.docker.internal:0 and configure your host X11 to accept connections. For OS X see manual.