olliw42 / mLRS

2.4 GHz & 915/868 MHz & 433 MHz/70 cm LoRa based telemetry and radio link for remote controlled vehicles
GNU General Public License v3.0
279 stars 58 forks source link

Relay Mode #123

Open olliw42 opened 10 months ago

olliw42 commented 10 months ago

for those who want to play and test :)

this adds the new option "crsf tx" to the RxOutMode parameter. This option should be selected on the receiver on the relay station (= secondary receiver). This is, in principle, all as regards of the required configuration.

However, in addition some configurations need to be done to have it all working together, e.g. also the baudrate should be selected to match the tx module on the relay station (= main tx module), usually 115200. Also RxChOrder should be selected to match that in the tx module in the radio (= secondary tx module). "crsf" should be selected in both tx modules, and mavlink must be enabled in all devices.

The out pin of the secondary receiver should be connected to the jrpin5/in pin on the main tx module, as well as the serials. With regards to the serials, it is mandatory to connect the tx line on the secondary receiver, the rx line can be left open, but of cousre also be connected if full mavlink shall be relayed.

The RC data is properly transmitted, also the mavlink data, and yappu works on the radio as well as the crsf telemetry shows the stats corresponding to the main link, not the relay link.

The main tx module and main receiver cannot be configured via the lua script. That is for configuring the main link, and easy approach would be to just plug the main tx module into a radio and set things up for them.

rotorman commented 10 months ago

Here two images that might help to understand how the relay mode could be used (just showing two examples, more constellations are possible):

grafik

grafik