Search found 22 matches

by spinorkit
Thu Nov 19, 2020 8:04 am
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 79376

Re: Script Language

I have added a new ELRS2.bas script that seems to work ok with the master-dev version of ELRS, i.e. the "new lua" version, here: https://github.com/spinorkit/ExpressLRS ... /ELRS2.bas
by spinorkit
Sun Nov 15, 2020 10:14 am
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 79376

Re: Script Language

I have put a first cut of a basic script to set the parameters for ELRS (for the R9M on a 9xr pro) here:
https://github.com/spinorkit/ExpressLRS ... x/ELRS.bas
by spinorkit
Sun Nov 15, 2020 12:12 am
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 79376

Re: Script Language

Mike. so sorry to waste your time. The ersky9xr_rom223A6 is now working. I thought I had flashed the r version of that but maybe it was the s version both times. Would you expect the s version to have that reboot behaviour on the 'PRO? BTW, how do I tell if my 9xr pro has the small rom? Try and read...
by spinorkit
Sat Nov 14, 2020 11:58 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 79376

Re: Script Language

I tried ersky9xs_rom223A2 and it has the reboot problem. I took out the r9m module (with all my wires connected to it) and the problem still occurs.
by spinorkit
Sat Nov 14, 2020 9:46 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 79376

Re: Script Language

MikeB wrote:
Sat Nov 14, 2020 9:26 pm
I've put your EEPROM onto my 'PRO and it runs OK.
Could you try 223A2 through to 223A5 and see if any of these reboot?

Mike
Thanks Mike, will do (I have to go out and do the grocery shopping now though).
Do you think it could be something on the SD card?
by spinorkit
Sat Nov 14, 2020 9:25 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 79376

Re: Script Language

I can also confirm that 223A6 works correctly on my 9XR-PRO. Thanks Lim3. BTW I am (slowly) starting to make progress on the basic script to control ELRS using the 9xr pro. I have it receiving the ELRS parameters and it is now displaying the air rate. Next I need to display the rest of the paramete...
by spinorkit
Sat Nov 14, 2020 1:02 am
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 79376

Re: Script Language

Thanks Mike. I tried the new interpreter and that worked fine with the long strings I need. Unfortunately, when I flash my old 9xr pro (MOD: REVB-X) with the ersky9xr_rom223A6.bin the radio appears to reboot continuously, replaying the voice announcement continually. I also tried the ersky9xs versio...
by spinorkit
Fri Nov 13, 2020 9:27 am
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 79376

Re: Script Language

There seems to be a limit of 52 chars on strings used this way?
by spinorkit
Fri Nov 13, 2020 9:12 am
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 79376

Re: Script Language

Hi Mike,
I am wondering why a line like
drawtext(0,0,"------\0AUTO \0 500Hz\0 250Hz\0 200Hz\0 150Hz\0 100Hz\0 50Hz\0 25Hz\0 4Hz"[0])
causes interpreter.exe to crash?

Is the source available?
Is there a better way to display an string from a lookup?
Thanks,
Kit
by spinorkit
Wed Nov 11, 2020 10:25 am
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2087
Views: 528204

Re: ERSKYTx (was ersky9x) Questions

Yes they do the same operation. A description of the erskyTx script language is here: https://openrcforums.com/forum/viewtopic.php?f=7&t=10325 . Mike Thanks Mike, that's great, especially interpreter.exe! I have a lot to learn yet but looking at the ELRS lua script and the ELRS C++ code, they are d...
by spinorkit
Tue Nov 10, 2020 11:55 am
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2087
Views: 528204

Re: ERSKYTx (was ersky9x) Questions

Nirvana just got crossfire shot protocol support. https://www.rcgroups.com/forums/showthread.php?3023832-UndergroundFPV-Dark-Knight-Radio/page247#post45357535 Any plans to bring it over to erskytx? I'm using latest test version in 9xr pro + r9m flashed to ExpressLRS 200hz link and crsfshot should i...
by spinorkit
Tue Nov 10, 2020 11:50 am
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2087
Views: 528204

Re: ERSKYTx (was ersky9x) Questions

As I understand it, crsfshot is just a method for the crossfire module to report synchronising information to the radio so that latency is reduced. Since the control data is sent to the module every 4mS, this may provide a latency reduction of an average of 2mS. Does crsfshot provide anything else?...
by spinorkit
Sat Nov 07, 2020 10:37 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2087
Views: 528204

Re: ERSKYTx (was ersky9x) Questions

Kilrah wrote:
Sat Nov 07, 2020 6:53 am
You can't use sport, has to be stlink or serial.
Thanks, I have now flashed it using STLink.
by spinorkit
Sat Nov 07, 2020 12:18 am
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2087
Views: 528204

Re: ERSKYTx (was ersky9x) Questions

LiM3, thanks so much for that info. One last question, how did you flash your r9m the first time? I imagine the new bootloader could be flashed using the sport in maintenance mode in erskyTx on the 9xr pro, but imagine you had to use an STLink or FTDI to flash the firmware without openTx? This link:...
by spinorkit
Thu Nov 05, 2020 10:23 am
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2087
Views: 528204

Re: ERSKYTx (was ersky9x) Questions

Many thanks LiM3!
Now I see that there is indeed a Xfire protocol option in the R222 version of ersky9xr I am currently running.

I wonder, is there a basic script available to control ELRS, setting the power etc similar to the ExLRS.lua script?
by spinorkit
Wed Nov 04, 2020 8:36 am
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2087
Views: 528204

Re: ERSKYTx (was ersky9x) Questions

Nirvana just got crossfire shot protocol support. https://www.rcgroups.com/forums/showthread.php?3023832-UndergroundFPV-Dark-Knight-Radio/page247#post45357535 Any plans to bring it over to erskytx? I'm using latest test version in 9xr pro + r9m flashed to ExpressLRS 200hz link and crsfshot should i...
by spinorkit
Mon Jan 21, 2019 10:49 am
Forum: ersky9xr
Topic: Frsky R9M
Replies: 67
Views: 25455

Re: Frsky R9M

That's great!
Many thanks for this very helpful description,

Kit
by spinorkit
Mon Jan 21, 2019 9:35 am
Forum: ersky9xr
Topic: Frsky R9M
Replies: 67
Views: 25455

Re: Frsky R9M

Dumb question here. I have a 9XR-Pro and am thinking of buying a RM9, but I can't find a description of how to update the RM9 module firmware (if needed, say to the flex version) without using a Taranis. Does the r222d2 ersky9x version support flashing the RM9 via the 9XR-Pro SD card, or do I need t...
by spinorkit
Mon Jan 01, 2018 12:12 am
Forum: ersky9xr
Topic: Frsky Telemetry with PX4 flight controller
Replies: 5
Views: 2076

Re: Frsky Telemetry with PX4 flight controller

Thanks for the info. I was considering just running the code that looks for the SPORT data and timing out after a while and dropping into D mode. However, someone has gone to the trouble of writing a function especially to detect the presence of D type telemetry by looking for a "D-type header" whic...
by spinorkit
Sun Dec 31, 2017 9:35 pm
Forum: ersky9xr
Topic: Frsky Telemetry with PX4 flight controller
Replies: 5
Views: 2076

Re: Frsky Telemetry with PX4 flight controller

That's what Lorenz just suggested I do. But I don't understand how the autodetection would ever work with my D8R-IIplus (which is flashed with the D8R xp firmware) since it relies on serial data coming out of the receiver to detect the baud rate etc and there is none. Would the Taranis be generating...
by spinorkit
Sun Dec 31, 2017 12:54 pm
Forum: ersky9xr
Topic: Frsky Telemetry with PX4 flight controller
Replies: 5
Views: 2076

Re: Frsky Telemetry with PX4 flight controller

After getting a development environment working for the PX4 firmware, I did some debugging and found the problem was in the PX4 firmware where it was trying to auto-detect whether the telemetry was SPORT or D-type. It was always failing to detect D-type telemetry. I now have a fix for that problem -...
by spinorkit
Sun Dec 31, 2017 12:43 am
Forum: ersky9xr
Topic: Frsky Telemetry with PX4 flight controller
Replies: 5
Views: 2076

Frsky Telemetry with PX4 flight controller

Hi, I started using the PX4 firmware on a PixHawk flight controller a few years ago. I had it wired up to transmit FrSky D-type telemetry back to my 9XR Pro. Early in 2016 the PX4 developers changed the format of the Frsky telemetry a bit, as far as I can see to send the flight mode back as TEMP1 da...

Go to advanced search