Containerized MAVProxy.
This image is inspired by asciich/mavproxy and tries to remove some of its limitations.
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
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
You can save logs and state of MAVProxy by adding the following volumes:
- :/var/log/mavproxy
- :/mavproxy
Set DISPLAY=host.docker.internal:0
and configure your host X11 to accept connections. For OS X see
manual.