Installez MAV Proxy sur Ubuntu 18.04.
$ sudo usermod -a -G dialout <username>
$ sudo apt-get install python-dev python-opencv python-wxgtk4.0 python-pip python-matplotlib python-lxml python-pygame
$ pip install PyYAML mavproxy --user
$ echo "export PATH=$PATH:$HOME/.local/bin" >> ~/.bashrc
--Connectez-vous via USB
$ mavproxy.py --master=/dev/ttyACM0
WARNING: You should uninstall ModemManager as it conflicts with APM and Pixhawk
Connect /dev/ttyACM0 source_system=255
Log Directory:
Telemetry log: mav.tlog
Waiting for heartbeat from /dev/ttyACM0
MAV> online system 1
MANUAL> Mode MANUAL
fence breach
Received 722 parameters
Saved 723 parameters to mav.parm
--Connectez-vous via le réseau
$ mavproxy.py --master=udp:127.0.0.1:14550
WARNING: You should uninstall ModemManager as it conflicts with APM and Pixhawk
Connect udp:127.0.0.1:14550 source_system=255
Log Directory:
Telemetry log: mav.tlog
Waiting for heartbeat from 127.0.0.1:14550
MAV> link 1 down
$ mavproxy.py --master=tcp:0.0.0.0:14550
WARNING: You should uninstall ModemManager as it conflicts with APM and Pixhawk
Connect tcp:0.0.0.0:14550 source_system=255
[Errno 111] Connection refused sleeping
[Errno 111] Connection refused sleeping
[Errno 111] Connection refused sleeping
[Errno 111] Connection refused sleeping
Failed to connect to tcp:0.0.0.0:14550 : [Errno 111] Connection refused
Recommended Posts