ELRS - Bidirectional MAVlink telemetry and RC control not working

Hi everyone,

I tried to set up ELRS MAVlink telemetry and RC control feature, but the mission planner is not detecting the mavlink telemetry (Baud rate 460800, used a type-c USB cable to connect to the laptop).

I followed the steps mentioned here.

Below are the setup details:

Am I missing anything?

looks like you have your USB cable connected to the bottom charging port on your TX16S. use the top port near the antenna.

@flat-earther, Thanks for your quick response.

I connected using the top port only, I was charging the transmitter simultaneously.

1 Like

If you use external module you have to use the module USB port, if you use internal modules then there is a bit of trouble and it would be best to join ExpressLRS Discord and look there in mavlik-rc channel.

If your module uses dip switches they also have to be set correctly (the default running configuration is wrong for MAVLink over USB)

1 Like

I haven’t tried it and am not knowledgeable enough to know the answer for sure,
but could it be that the ELRS module is translating the Mavlink to CRSF for EdgeTX because EdgeTX doesn’t support Mavlink?
look at this Translate MAVLink telemetry to CRSF on the handset (rebased) by wvarty · Pull Request #2808 · ExpressLRS/ExpressLRS · GitHub

1 Like

Telemetry mirroring from the internal module of an edgetx rc wont work.

You can either use usb via an external module (eg: ranger), or flash the internal elrs module backpack to the master github branch backpack fw and get a telemetry stream over wifi.

2 Likes

has anyone resolved this issue? i am getting the mavlink on my transmitter but not on my computer in qgc

Which firmware version are you running, including commit hash.

This is the exact firmware I used -

@Farkhod_Khikmatov , I got it worked but the param loading takes more time approx 4 to 5 mins, also the wifi keeps getting disconnected.

I followed this doc - Making MAVLink work with ELRS - Google Docs

I got this from ELRS discord channel. Let me know how it goes for you.

1 Like

Hello,

it seems that ELRS V3.5 now has the mavlink feature mainlined. Anybody got it working?

I tried and it partly works for me.

Means via wired connection I see that RC control goes in via mavlink2 from elrs receiver.
Yapuu 2.0.0dev LUA on the EdgeTX does not work with the protocol stack though.

Connecting Wifi worked but I can’t get missionplanner to connect via UDP and actually I would expect that I must provide a host IP where the UDP connects to.

OK, found the necessary clues.

https://ardupilot.org/dev/docs/making-a-mavlink-wifi-bridge-using-the-raspberry-pi.html#using-mission-planner

so connection type UDPCI and host 10.0.0.1 port 14550

I’ll try that in next iteration.

This is the most likely answer. I recall the USB not working with my RM Pocket.

Use backpack wifi and connect over UDP (make sure backpack is also at the newest FW).

  1. EdgeTX telemetry mirror contains CRSF stream. You would have to pack the MAVLink stream into CRSF on the module and unpack it on the PC. As of EdgeTX 2.10.x trying to send bursts of large CRSF frames containing MAVLink data quite reliably crashes the radio.
  2. For regular operation you need either backpack or USB port on the module (external modules only)
  3. Yaapu’s telemetry uses S.Port over CRSF and AFAIK isn’t compatible with regular CRSF telemetry

Ok, I got it running via USB port of the Bandit Micro module attached to my TX12Mk2.
Performance is still developing. Takes minutes to load the parameters while EdgeTx frequently shouts “Sensor Loss”. After parameters have been loaded, it does not really improve. Horizon in Mission Planner takes 1-2 seconds to update.

No luck with wifi, I nmap’ed the backpack and only port 80 is open and not 14550. Not sure what I’m doing wrong exactly.

Updated TX&RX module firmware three was an important fix for ELRS. IIRC AP/AC4.6 (dev) contains fixes that improve parameter transfer rate.

1 Like

Thx, I’ll try with latest AP4.6 from git.

OK, verified. AP4.6 is roughly factor 3 faster then before. It must yield acceptable performance in 2400 but not yet in 900. Still roughly 1s delay on the artificial horizon. 40s to download parameters is acceptable while waiting for GPS to lock.

Hey Ohitstarik, I’m suffering the same issue - can’t get the RM Pocket to work at all with the backpack, it seems just to time out when going into the elrs interface to set up.
Any chance you could list your actions to get this to work?

These are pretty similar to what i’ve been getting on 2.4, you’re on 900mhz with lower bandwidth as well. Its to be expected as ELRS is set up an RC link first, with telemetry bandaided to the side.

I believe the mLRS project is a similar take with LoRA hardware with an RC link but (i believe) a better setup for telemetry. I havent tried it yet, but i’m looking forward to it once there’s more 900mhz receivers in stock in the states.

here’s the github for it. They have a good discord as well.
olliw42/mLRS: 2.4 GHz & 915/868 MHz & 433 MHz/70 cm LoRa based telemetry and radio link for remote controlled vehicles (github.com)