Hello
I have a speedybee f405v3 and a raspberry pi zero. I am trying to install mavlink on the pi. I have done the following by copying these instruction:
-
Properly soldered the points from the pi to the FC
-
I set up the flight controller so i could do stuff on mission planner (MP)
-
I enable these 2 settings on MP
- SERIAL2_PROTOCOL = 2 (the default) to enable MAVLink 2 on the serial port.
- SERIAL2_BAUD = 921 so the flight controller can communicate with the RPi at 921600 baud.
-
I configured the raspberry pi’s UART ports with the command sudo raspi-config and followed the instructions on the website
-
I’ve decided on using mavproxy as the communication between the FC and rasp pi
-
I then install mavproxy as per the instructions on this website:Download and Installation — MAVProxy documentation
-
I entered the following commands:
-
sudo apt-get install python3-dev python3-opencv python3-wxgtk4.0 python3-pip python3-matplotlib python3-lxml python3-pygame
-
pip3 install PyYAML mavproxy --user
-
echo ‘export PATH=“$PATH:$HOME/.local/bin”’ >> ~/.bashrc
-
I then typed in this command to see if i can communicate to FC with RP:
python3 mavproxy.py --master=/dev/serial0 --baudrate 921600 --aircraft MyCopter
- I then get this error:
WARNING: You should uninstall ModemManager as it conflicts with APM and Pixhawk
Connect /dev/serial0 source_system=255
no script MyCopter/mavinit.scr
Log Directory: MyCopter/logs/2024-03-23/flight12
Telemetry log: MyCopter/logs/2024-03-23/flight12/flight.tlog
Waiting for heartbeat from /dev/serial0
MAV> link 1 down
Any assistance would be appreciated