Communicating with Raspberry Pi via MAVLink

Hi Caleb!

First, I did the following just to make sure RPi was updated:

  • sudo apt-get install update
  • sudo apt-get install upgrade

Then: sudo apt-get install python-opencv

Setting up python-opencv (3.2.0+dfsg-6) …
Processing triggers for libgdk-pixbuf2.0-0:armhf (2.38.1+dfsg-1) …
Processing triggers for libc-bin (2.28-10+rpi1) …

I tried again the main command and I get the following:

pi@raspberrypi:~ $ mavproxy.py --master=/dev/serial0 --baudrate 921600 --aircraft MyCopter
Connect /dev/serial0 source_system=255
no script MyCopter/mavinit.scr
Log Directory: MyCopter/logs/2021-03-10/flight3
Telemetry log: MyCopter/logs/2021-03-10/flight3/flight.tlog
Waiting for heartbeat from /dev/serial0
MAV> link 1 down

It is still giving the same output. I don’t get any parameters from the drone.