MPXAir docs GitHub
Help

Troubleshooting

Fixes for the most common problems.

Permission denied on a USB port

sudo usermod -aG dialout $USER

Then log out and back in. install.sh offers to do this.

A flight controller connects and then drops

Ubuntu's ModemManager may be probing the device. Stop it:

sudo systemctl disable --now ModemManager

A USB device disappears

If the device vanishes from lsusb and journalctl -k shows error -71, device descriptor read or device not accepting address, the problem is electrical, not software:

  • Try a different, short USB data cable and another USB port.
  • A radio transmitting at high power can draw more current than a laptop port gives. Use external power or a powered USB hub.
  • If a port stays stuck, restart the computer.
journalctl -k -f      # watch while plugging the device in

The ground station board keeps restarting

If journalctl -k shows USB disconnect for the board's hub every so often, and the board comes back a few seconds later (often as ttyACM1), the board is losing power for a moment (a brown-out). A radio transmitting at high power, the ESP32 and the GPS together can draw more than a laptop USB port supplies. Each brown-out also cold-starts a GPS without a backup battery, so it loses its satellites for a few minutes.

  • Power the board from a powered USB hub or its own supply.
  • Use a short, good-quality USB cable.
  • MPXAir reconnects on its own when the board comes back, and keeps the last known ground position on the map meanwhile.

A few damaged packets are normal on a radio link, and MAVLink is built to cope: MPXAir skips them and carries on. If you see a steady 2 % or more even at short range with a strong signal, check the radios' settings (on the RFD900 + ESP32 board, with its GCS Settings page):

  • MAVLink framing (MAVLINK = 1) on both radios, so the radio sends whole packets.
  • Error correction (ECC) on both radios, with the same air speed and settings on each side.
  • Power the ground board properly: power dips also corrupt data.

PreArm: Vehicle breaching Polygon fence

The aircraft is outside an inclusion geofence stored on it, or within FENCE_MARGIN metres of its edge. Look at the fence on the Fly map, move the aircraft well inside it, or edit or clear the fence on Plan → Geofence and press Write.

No heartbeat from the aircraft

  • Check the baud rate: 57600 for most telemetry radios, 115200 for USB.
  • Check that both radios are powered and linked (the radio LEDs should be solid).
  • With a ground station board, MPXAir waits for the aircraft and connects when it appears.

The ground station GPS doesn't show

  • On the Ground tab, open Raw message. If it's empty, the board isn't sending (try Test now, and check the prefix and poll command).
  • A GPS without a backup battery needs a few minutes for its first fix.
  • The GROUND marker can be hidden with the ground-station button on the Fly map.

No map

Check that Preferences → Maps → Internet use isn't set to Offline. Areas you downloaded with Offline Maps always work without internet.

Some parameters are missing

On slow links a few parameters can be lost. The connection window says some missing. Press Refresh on the Parameters tab to try again.

Reporting a problem

Open an issue on GitHub with what you did, what happened, and the terminal output if you started MPXAir from a terminal.