Тёмный

Betaflight Lua Script Updated for OpenTX 2.2.1 | NO MORE OUT OF MEMORY ERROR 

Joshua Bardwell
Подписаться 347 тыс.
Просмотров 73 тыс.
50% 1

Uncertain about what to buy? Check out THE ULTIMATE FPV SHOPPING LIST: www.fpvknowita...
If you are interested in getting a Taranis or Horus radio, I have a page dedicated to them here: www.fpvknowita...
THIS IS MY FULL TIME JOB.
Here are other ways that you can support me:
www.fpvknowita...
---
Here's updated instructions for installing the Betaflight Lua script to your OpenTX radio (Taranis X9D, QX7, Horus X10, X12). This video improves on my original one:
1. The Betaflight Lua script got easier to install, but the instructions changed so the original video doesn't work.
2. The original video didn't use the easiest way of updating the firmware.
3. The new Betaflight Lua script not working. It has an "out of memory" error when used with OpenTX 2.2.1. I'll show you how to fix that.
-- RESOURCE LINKS --
My original Lua script installation playlist, with detailed instructions for installing Companion and updating your firmware.
Part 1: • Video
Part 2: • Betaflight Taranis Lua...
Part 3: • How To Update The Tara...
However, I suggest you use the firmware flashing method shown in this video, not the one shown in that video. Still, that video will show you how to download Companion and set it up.
Impulse RC Driver Fixer: impulserc.blob...
My ui.lua file with the change to make the vTX screen first: 1drv.ms/u/s!Al...

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 418   
@SzymonSyrek
@SzymonSyrek 6 лет назад
You can quickly run BF lua. Only change filename from luac to lua.
@TheLightningStalker
@TheLightningStalker 6 лет назад
I was thinking the same thing just wasn't sure if it would actually run it or be confused because of the filename.
@kyleMcC13
@kyleMcC13 6 лет назад
so does this work? that would make this video way more useful!
@TimEckel
@TimEckel 6 лет назад
It does work, that's how I distribute my Lua Telemetry script for INAV
@TimEckel
@TimEckel 6 лет назад
Nothing to show, just rename.
@minras
@minras 5 лет назад
Thanks its working :)
@chrismcagle
@chrismcagle 6 лет назад
Joshua, thanks for this video, but what could be the reason that there is no information showing for the PID or VTX inside the lua script? It just has "--" for all the fields. I'm running a Hobbywing XROTOR F4 FC and have an X4Rsb rx with the s.port wired to UART3TX and a Tramp HV with the telemetry wired to UART6TX. I also have both turned on within Betaflight.
@ChrisRosser
@ChrisRosser 6 лет назад
Hey JB. I found that only ticking the luac option (not lua) during the build removes the need to specifically run the bf.luac script from the taranis SD slot. Script works as before with a long press of page on the model screen. Any side effects to this approach?
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
Out of memory error sometimes.
@crezzlin
@crezzlin Год назад
Currently getting memory problem Taranis x9d and Edge Tx.. Unfortunately the same hack doesn't work.. Its the ELRS Lua.. Thanks for the video 👍👍
@adeburnham419
@adeburnham419 6 лет назад
I followed this video to the letter but when I go into the sd card on the my taranis x9d plus se and go into the BF file then select bf.luac then execute it I get this message "script syntax error /BF/bf.luac incompatabible precompiled chunk" Anyone have any ideas how to correct this please ?
@Landat78
@Landat78 3 года назад
Is this relevant yet? Or it has .already merged into new versions, as im using latest 2.3.14 otx version..so o just need to force start the script with .LuaC files..and not with simple .lua file? to eleminate out of memory errors? I ve read others suggest to delete these luac files as they are not necessary and by deleting them i can free up some space. So im confused now..here you suggest to force start with luac. Im facing memory issue now when i start elrsv2.lua than i cannot start another script...or vice versa
@washussan
@washussan 6 лет назад
I have a X9D (not plus) and a QX7, both running OpenTX2.2.1. I tried lua v1.0.1 scripts on 2 quads (both with SPRF3 FC, one is a modded wizard x220 and the other a scratch build with a bangood SPRF3 clone from banggood). Both quads have telemetry working fine. But only the wizard works with lua script (initially bound to my QX7). They're now wired exactly the same (softport sport telemetry with only one cable on tx softserial 2 and both with sbus). At first I thought the problem was with de X9D, but after binding the quad that doens't work with lua to the QX7 (that has lua working perfectly with the wizard), it still doesn't work. So I reckon the problem is with the quad. Any hints on how to try to solve it? I am at a loss... tried everything I can think of... I don't get any memory errors. The script just can't read e.g. the pids from this particular quad, with any Tx, even the QX7 that I know works fine with the wizard. Thanks P.S. Oh, and I have luac enabled on both TXs, but use the "telemetry page 1" with bf lua script.
@daviddrysdale8866
@daviddrysdale8866 3 года назад
Hello Joshua - a question - about 11.30 into the video you are on Betaflight OSD and “No Telemetry” is flashing. This also happens with my Taranis X9D even when the radio and receiver are connected - do you have any ideas what’s going on 🤔 many thanks Davy
@FireDFPV
@FireDFPV 6 лет назад
Sometimes I get 'Script syntax error; telemetry protocol not supported' message. But it just sometimes. I tried to switching models and goes through all the LUA pages but cannot make it appear again. *0*
@TeamBlindMouse
@TeamBlindMouse 6 лет назад
I get this too occasionally !
@GibsonLesPaul2273
@GibsonLesPaul2273 4 года назад
The file to change the Lua script page order to show VTX page first is no longer available but I found a way to do it, change the line to LOCAL CURRENT PAGE = 8
@robbiedavis72
@robbiedavis72 5 лет назад
Hay Josh, I'm have this memory problem and have done everything you said to do but now I'm stuck at write firmware to radio. It's been 5 mins now and still 0% should I close it out and try again???
@sunsetpark_fpv
@sunsetpark_fpv 4 года назад
So - Is it possible to create a script that you can execute with , let's say, - a switch, that will do the whole - menu, page, enter, enter, execute command sequence automatically to select and run the luac script which executes/launches the correct BF script? EDIT: whoops - looks like its been dealt with already :)
@ralfb2103
@ralfb2103 4 года назад
possible to make a update: Betaflight Lua Script Updated for OpenTX 2.3.x ? regard
@smokinjoe1256
@smokinjoe1256 6 лет назад
if you wouldnt do your tutorials, reviews and infovideos i would be just screwed. i miss real plug and fly solutions...it would be so easy.
@MrOrangeman18
@MrOrangeman18 4 года назад
could you please consider doing this for the new models of transmitter and esp new lua 1.5. thanks
@CorruptName1
@CorruptName1 4 года назад
You can change it in the settings to always be a joystick or mass storage.
@beechFPV
@beechFPV 4 года назад
your lua file is no longer available? can you share another link please
@rafaellopes4271
@rafaellopes4271 3 года назад
This shortcut doesn't work more, have you some solution to new version?
@PinchTune
@PinchTune 6 лет назад
I see you delete the README.TXT files from each of the folders so they don't appear in the Taranis menus. Smart. I have to go do that.
@aerosapiensfpv4569
@aerosapiensfpv4569 6 лет назад
Dear 1 tutorial this model x10s nice very good
@hellomyfellowfellow7210
@hellomyfellowfellow7210 6 лет назад
Thank you so much for this video. I thought i messed up and thats why it said out of memory error. Cant wait for the clearview and crossfire video. Keep it up.
@leole9449
@leole9449 4 года назад
I delet lua Script by mistake now i can't fly
@53roger
@53roger 5 лет назад
Question: I have Smart Audio controlling vtx...no issues. I installed lua scripts and it controls everything on the vtx EXCEPT PitMode. The equipment is working, so is there a special way to turn PitMode on/off? The screen says it is saving but the vtx never changes and the lua PitMode setting goes back to whatever it was set at? Telemetry is definitely working. Equipment: fireworks v2 flashed to 3.5.1 and BF 3.5, 9D+ radio with 2.2.3, eachine tx805. Any help is greatly appreciated. Roger
@JoshuaBardwell
@JoshuaBardwell 5 лет назад
Unify (and possibly other SmartAudio vTX) refuse to go back into pit mode after power up. Try tinysleds real pit (search my channel for review)
@riongronberg1435
@riongronberg1435 5 лет назад
If you delete the .lua files, long page press falls back to the .luac files
@Gloch9
@Gloch9 6 лет назад
Hey Josh, I'm hoping you can help me out. I've followed all of your firmware update videos but im unable to clear the "SD Card Warning" error upon TX power up. The Open TX firmware I've updated to is 2.2.2. Any help would be appreciated thanks!
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
Download the new SD card contents for 2.2.2 and erase the contents of your SD card and copy the SD card contents to it. 2.2.2 SD card contents is here: downloads.open-tx.org/2.2/release/sdcard/
@roberthickling4225
@roberthickling4225 6 лет назад
After following this when I look at my SD card contents and execute the bf.luac file it comes up with [script syntax error/BF/bf.luac incompatible precompiled chunk !! any ideas ?
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
Try executing the lua file not the luac file.
@alexanders2654
@alexanders2654 6 лет назад
After following this video, I am still getting a "Script Syntax Error" with "attempt to call field lock (a nil value)" when attempting to create a model to my Taranis 9xd plus. Help!!
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
I would re flash the radio including delete and replace the SD car contents.
@gokuandres
@gokuandres 6 лет назад
I rename the old lua file and rename the new luac file with termination of the old lua file and now it opens like the old lua script i know somebody post it here before but i couldn't find the comment opentx 2.2.1 is way better than the 2.2
@jaseduar
@jaseduar 6 лет назад
I have two file BF.lua and BF.luac , do you mean rename the file for example in order: 123.lua and BF.lua is it correct?
@drspyqwerty
@drspyqwerty 4 года назад
no link tobetaflight lua script in description
@davidwong5104
@davidwong5104 4 года назад
I have a Taranis x9d+ 2019 edition, and I don’t see the luac on my OpenTX companion and I’m using the latest 2.3 eopentx
@JoshuaBardwell
@JoshuaBardwell 4 года назад
They got rid of the luac option. If you enable lua, then luac is included.
@dibbusfpv3593
@dibbusfpv3593 4 года назад
@@JoshuaBardwell but should I then indeed rename the LUAC files to LUA? Just following up these instructions in OpenTX 2.3.5 with LUA enables seems to give me this "out of memory" issue.
@evanvega
@evanvega 5 лет назад
When executing "Write Firmware to Radio" (5:00), to what path do you write the firmware? Do you write it directly to the "Taranis (J:)" drive?
@JoshuaBardwell
@JoshuaBardwell 5 лет назад
None of the above. When you "write firmware to radio" you have the radio connected in DFU mode so there is no J drive. You plug in the taranis with power off and this causes it to enter DFU mode.
@fpvandgasrc4321
@fpvandgasrc4321 6 лет назад
I habe finally figured this out.. thanks but i still have a problem when i connect my taranis to the computer do i have to do the hold trims to center.. like if i wanted to flash the next firmware.. how woulf i do it now.. just turn the radio on and plug usb in and choose mass storagemm because i cannot access my sd card when its plugged in usb. I have to remove it. Also i flashed 2.2.1 again and it said flashing done but an error sayong failed to flash FIRMWARE.BIN file.. please help
@GhostRider-kr2qc
@GhostRider-kr2qc 6 лет назад
Good day! After all is done my bf.luac wont run! bf.lua will run. Using Taranis Qx7. Any suggestions?
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
You don't execute the .luac file. Just run the bf.lua file.
@gostfalcon
@gostfalcon 5 лет назад
Has this been updated? Its not working for me. Still getting the out of memory error.
@JoshuaBardwell
@JoshuaBardwell 5 лет назад
This technique should work today.
@orangutanfpv271
@orangutanfpv271 6 лет назад
Hey guys. Just tried to update my taranis x9d+. I followed this video and the previous taranis update videos (thank you for them). I have succeeded in getting the taranis to 2.2.1 and the bootloader as well, however I had to do the old 3 finger shuffle method rather than just plugging in and flashing like the video showed. If I do that I get this message Executable /Users/JRapson/Downloads/dfu-util-0.7_0.7-1~precise_amd64.deb not found I reinstalled dfu util on my Mac but still not joy. Also I can't get BF or KISS lua/luac without a syntax error Script Syntax error loadscript("/SCRIPTS/BF/protocols.lua","btFile not fo Anyone able to help please?
@wittyfpv
@wittyfpv 5 лет назад
Mr Bardwell im fairly sure i have hit my head somewhere i cant get my head around lua scripts...can u do a video on lua script setup including troubleshooting problems.... i keep getting script syntax error with my kiss lua
@JoshuaBardwell
@JoshuaBardwell 5 лет назад
If you get syntax error, then I would make sure the latest version of the script is downloaded and installed in the right folder.
@ring0s
@ring0s 6 лет назад
Simple solution to run LUAC in telemetry pages, little hack :) 1. Delete BF.LUA from BF folder on SD 2. Change name BF.LUAC to BF.LUA and thats it, if You have BF.LUA defined in telemetry pages, now it's automatliky run LUAC witch diferent filename.
@RR123
@RR123 6 лет назад
Do you know if the current Frsky OpenTx version (With, I'm guessing, some bugfix?) has the LUA + LUAC options? (ie: x9dp-v2.2.2-20180525, "Based on openTx v2.2.2.", even though that is not an officially released OpenTX version?! see: www.frsky-rc.com/wp-content/uploads/Downloads/Firmware/X9DP/FW-X9DP-V2.2-20180525.zip )
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
It is a compile-time option so I assume it is available yes. Just select luac option in Companion and click "download" and it should come down.
@RR123
@RR123 6 лет назад
They don't seem to offer a custom companion, only the firmware and SD card content. So I used the 2.2.1 companion with their "2.2.2" version, but I can't tell which modules are active, unless there is a menu for it on OpenTX? (I'm just starting out, sorry for the confusion!) My current understanding/guess is that 2.2.1 is linked to some repository where it gets all the precompiled build options/modules, and somehow combine thems? And thus, I'm not sure I can click download in 2.2.1 and tell him to fetch 2.2.2 (I clicked "write firmware to radio" and picked the file I got from FrSky) considering FrSky doesn't seem to be giving any other content. Unless the companion is actually extracting modules from the firmware .bin? :)
@KwaddawK
@KwaddawK 5 лет назад
Thanks once again Joshua. This was difficult for me because my PC had a hard time recognizing my sd card and taranis. sometimes drives showed up but unresponsive. I only just purchased my radio second hand and it didnt come with a usb cord. I kept trying on different usb ports and tried a second usb cable that fit but still no luck. Was about to give up and tried my first cord one more time and the drives appeared, looked correct and the firmware flashed finally!! Yay! Never would have done this without you champ, thanks heaps!
@irwan86
@irwan86 6 лет назад
My x9d cannot execute the luac file..already flash with lua and luac. Please help
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
You should be able to run the .lua file I think. Manually executing the .luac file is not necessary.
@jackdaniels7913
@jackdaniels7913 6 лет назад
Dose the lua script work with the full size crossfire on the X10/X10S? Can't get mine to see the crossfire module?!?
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
blog.seidel-philipp.de/fixed-inverter-mod-for-tbs-crossfire-and-frsky-qx7/ You need to do the inverter mod for lua scripts and telemetry to work.
@jackdaniels7913
@jackdaniels7913 6 лет назад
Thanks JB your the beat! Can't wait for your how to video I did the internal installation for my HD3's thanks to your post before I even turned them on 😅 worked grate tanks to you!!!
@jackdaniels7913
@jackdaniels7913 6 лет назад
Thank you again this was a huge help and harder to find then you'd think for a noob... pleas consider doing a quick vid. To help the rear of the noobs with a brand new frsky and crossfire like me! We all really appreciate your work!!!
@brandonwoodford579
@brandonwoodford579 5 лет назад
Hey Joshua, I just want to update my firmware from 2.2.0 to 2.2.2, do you have a video of this procedure?
@JoshuaBardwell
@JoshuaBardwell 5 лет назад
Please look up my video showing how to upgrade opentx on the xlite radio. The process is the same.
@Just-A-Guy-Learning
@Just-A-Guy-Learning 6 лет назад
I have the new lua and I'm on the qx7. I do not get the low memory warning or syntax error. Betaflight works everytime without that luac. I only get the low memory warning for the inav lua, and syntax error for lua pilot. Go to your folder that has the x7 x9d, and horus labeled folders. Delete the folders that are not for your transmitter. Only delete the other transmitter named folders. Then the page shortcut works without memory error
@bubukis
@bubukis 6 лет назад
It's easy to fix in more proper way, making long press on "Page" still working. You just need to DISABLE "lua" before flashing, and only leave "luac". After flashing, set the screen back to "None", and then to "Script" again, and choose the "bf" script again (you need to be sure all the ".luac" files are there, in most recent version of script archive they are there by default). All will be OK after that, long press on "Page" will work, and no memory error - because the firmware will use "luac" files instead of "lua"...
@danilozetube
@danilozetube 6 лет назад
Cannot use the X9D+ as joystick anymore after update... anyone else having this issue? Tryed to update to 2.2.2 but still no go. It is selected Joystick in USB Mode. I am using multiprotocol firmware.
@WildpixFPV
@WildpixFPV 6 лет назад
Any knowledge if the Matek hv VTX works with luac? Set the UART to IRC Tramp..It doesnt work, lua page stays empty..nothing readable
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
Yes, definitely it works with lua scripts.
@WildpixFPV
@WildpixFPV 6 лет назад
Good answer, thank you sir! =) Now I can go to work and look forward to a tiny solder job, can't wait to get my Chameleon Ti with cl_racing F4s and all that yummi stuff up in the air! ;)
@DutchRC
@DutchRC 6 лет назад
Damn! I was actually looking forward to making some in-radio games, but looks like it's allready been done :P
@MarcosLimadrones
@MarcosLimadrones 5 лет назад
Good morning, I have a yappu script from my PIXHAWK on x9d +, I would like to install the betaflight moon script and be able to use the 2 more I am not getting what I can do ???
@maviswu861
@maviswu861 6 лет назад
Joshua, I originally had the memory error until I followed your guide. However, my "hold page" seems fixed without needing to execute the bf. luac manually through the SD menu. Are you sure the hold-page script isn't already working for you too?
@MCsCreations
@MCsCreations 6 лет назад
Hey, JB, I have a doubt. My Taranis is running 2.1.6 and I'm going to update it for the newest version (2.2.2 or whatever, I don't know). My doubt is: which method should I use? The boot loader, like in your first video, or like you did here? Or it doesn't matter? Thanks!!! 😊
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
Personally I would use the method of "plug in while it's off" and flash from Companion. The only reason I showed the SD-card method is because it avoids the issue with DFU drivers, which many struggle with.
@MCsCreations
@MCsCreations 6 лет назад
@@JoshuaBardwell Nice, thanks a lot!!! 😃
@CorruptName1
@CorruptName1 4 года назад
Terrible Owen Wilson.
@Dav2112
@Dav2112 6 лет назад
I recently flashed my Taranis to 2.2.1 so I could use LUA scripts on my KISS setup, but I never checked luac option and I’m getting the annoying error when I try to run the scripts on occasion. Thanks for this video, looks like I’ll be reflashing the radio tonight again.
@robbinkoot2154
@robbinkoot2154 5 лет назад
I really want the taranis qx7. But do I really need to know how Lua script work if I want to use the qx7?
@JoshuaBardwell
@JoshuaBardwell 5 лет назад
Lua scripts are useful but not required.
@wadetubman
@wadetubman 6 лет назад
Maybe I am missing something, but the lua script linked in your OneDrive to move the vtx page doesn't reflect your change?
@NicuIrimia
@NicuIrimia 6 лет назад
it doesn't work anymore with 2.2.2 ? I have a syntax error
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
Update your Lua script to the latest as well.
@CorruptName1
@CorruptName1 4 года назад
I didn't see snake..
@baldronefpv
@baldronefpv 6 лет назад
You are magic great
@Sebastos34
@Sebastos34 6 лет назад
Hi, thank you for your video! After flashing Taranis with LUA and LUAC ticked, you just have to delete the bf.lua file in the BF Folder, and its works perfectly. No need to launch bf.luac manually anymore before Use.
@balazssomkuti
@balazssomkuti 6 лет назад
Hi Joshua, I connect the battery to quad, i get a message on taranis lua: "Script syntax error ?:0 attempt to compare nil with number" What could be the problem? Can you help me?
@redberlingo
@redberlingo 5 лет назад
For anyone getting "Syntax Error" or random lua errors... try a better SD Card. I had received a new Taranis X9D Plus and all my issues went away with a new card.
@wudz_fpv
@wudz_fpv 6 лет назад
If you go to the GitHub LUA page, you can get more recent commits that allow you to change the vtx frequency by frequency, instead of messing around with bands and channels in case you know the frequency by number. And also, the long-press page to quick access menu works on my QX7 ;)
@oldschool7541
@oldschool7541 5 лет назад
hey josh, when you say the taranis upgrade is needed for crossfire, you mean the micro crossfire not the full blown crossfire unit. so i have been informed by the retailer
@JoshuaBardwell
@JoshuaBardwell 5 лет назад
This info is a bit dated. The x9d has been shipping with support for Crossfire for a while now. However at the tune the video was made you definitely did need to upgrade for crossfire support. If my memory is correct crossfire support was added in 2.2.0. Before that, whatever module you used, opentx didn't support crossfire at all.
@halflife82
@halflife82 6 лет назад
Nice! I wasn’t going to watch as I’m already on 2.2.1 but didn’t realize the .luac wasn’t run from the Telemetry scripts screen! Thanks for the tip.
@DylanDyck
@DylanDyck 6 лет назад
Eganwp it can be if you combine it instead of keep it separate from the .lua
@rubenvaneupen7327
@rubenvaneupen7327 5 лет назад
This does not work with the FrSky XM+ rx, right? Guess u need telemetry.
@JoshuaBardwell
@JoshuaBardwell 5 лет назад
Yes you need telemetry correct.
@VdubSPAZ
@VdubSPAZ 6 лет назад
Ironically I dealt with this exact same problem last night while doing all this.... Ironically though the way I solved it is because originally it didn't have the BF folder in it... So my work around was remove the BF folder.... It solved my problem without changing anything in what I had to flash to my controller.... But I am new so I'm not sure what's in the BF folder that I may want to keep I may need to reinstall that into my SD card.... And then of course update my firmware to match with the new Lua C
@thurgogopro5338
@thurgogopro5338 6 лет назад
When I try to copy the two lua files over to the st card the pc says script folder already exists. Do I let it overwrite. It's the latest ver 18 of 2. 2. 2
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
Yes overwrite. You're not really overwriting any files, just dropping folders into them.
@PandaFPV
@PandaFPV 6 лет назад
When I execute the luaC file I get a syntax error: incompatible precompiled chunk
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
I would make sure you had the latest. Lua script and opentx.
@PandaFPV
@PandaFPV 6 лет назад
Joshua Bardwell I just finished downloding 2.2.2 and added the 2.2.2 sdcontent. Then went to the website and download this lua script. I don’t know what the problem is.
@jasonlong5838
@jasonlong5838 6 лет назад
Mr. Bardwell, after updating the Tarranis X9D+ firmware and the SD card contents, upon starting my unit I receive a message: "SD CARD WARNING Expected version: 2.2V0013 Press any key" After pressing the any key, the transmitter seems to function correctly. What can be done to satisfy my Tx?
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
You need to download the new SD card contents. opentx.gitbooks.io/manual-for-opentx-2-2/sdcard.html
@jasonlong5838
@jasonlong5838 6 лет назад
Wow! Thanks for the super timely reply. I had downloaded the latest SD card contents, but I transfered everything EXCEPT the 1KB version file to the SD card. That was the deficiency. No way you could have known my noob mistake. Your responce got my noggin working. Bardwell fan. Thanks for everything you do in this field.
@douglasrohman6191
@douglasrohman6191 6 лет назад
I just get a script syntax error.
@charlesmcguire9711
@charlesmcguire9711 6 лет назад
I tried this and it bricked my radio. I suspect my folder structure was wrong or corrupted. To fix it I did 3 things. 1.) re-ran the ImpulseRC driver fixer 2.) re-unzipped the sdcard-taranis-x9-2.2V0013 file and put it on the SD card 3.) put the firmware .bin file on the SD card this time in the firmware folder and flashed it using the radio instead of OpenTX companion. It said my EEPROM wasn't right though, but it tried to fix itself and seems to be OK.
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
You should always be able to flash the radio in DFU mode, which you access by plugging in the radio with the radio powered down, then run the IRC Driver Fixer. But ultimately whatever works...
@charlesmcguire9711
@charlesmcguire9711 6 лет назад
I'm just glad I got it back to working again. I was sweating it for a minute, and now I can run the lua scrips. Yeah!! Thank you Joshua.
@punisher79fpv42
@punisher79fpv42 6 лет назад
Hello All, even when running the lua via the page key the memory error is gone. No need for me to go via the USB directory to activate the Luac file... strange, but hey... it works ! Thx Josh for the top notch work youre delivering!
@HELI5
@HELI5 6 лет назад
Is this the same for Kiss V2? I assume thats what the Snake script is for? Looking forward to the next Lua video!
@WildpixFPV
@WildpixFPV 6 лет назад
Thanks again Josh for your help with my issues..! Btw.: That link to #1 of the lua script videos in the description is a link to your Taranis x9D SE video! ...Hmmm...!?
@drclimb
@drclimb 6 лет назад
Hi Joshua Can you tell me if there is a difference whether I download the Taranis FW directly from the FrSky homepage or via the OpenTX companion? Thanks a lot! Manuel
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
The firmware from the FrSky home page is not OpenTX, it is FrSky's customized build of OpenTX. You should use the firmware downloaded from Companion.
@drclimb
@drclimb 6 лет назад
Thanks a lot!
@myvidedits
@myvidedits 6 лет назад
I'm running lua script on x7s. Didnt use the luac file and it works fine....
@ryanmorgan1151
@ryanmorgan1151 6 лет назад
i cant seem to get my taranis detected on my PC when i connect it without using the ''hold buttons'' scenario. does it matter if i enter the sd card the 'old' way?
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
With OpenTX 2.2.1, you have to select USB Mass Storage or Game Controller from the model setup menu. Or you can have it prompt you each time you plug in
@jonnyphenomenon
@jonnyphenomenon 6 лет назад
So, this memory error you speak of, it only happens when you page around inside the script for a while when running it from a telemetry screen from a long press of Page button? (This is my first foray into the LUA script stuff.) For the sake of exploration and whatnot: First, I edited the x9pre.lua file and put the VTX page on top, as it is probably the only thing I am likely to use it for, and it allows me to see what channel I am on from the radio, instead of searching with the goggles, obviously... Next, I added Script, bf to the telemetry screen 2, to get it to open on the long page button press, and it comes up just fine. So, will the out of memory error pop up if I leave it on the screen? or only if I page through the script a whole bunch? Would it help if I removed some of the pages from the x9pre.lua file? (like the rx page) And to further confuse things... I haven't actually been able to find this infamous out of memory error...
@DavidHanniganJr
@DavidHanniganJr 6 лет назад
I went through this video 3 times, and i'm still getting that SD CARD WARNING thing. Why? I'm even flashing 2.2.2 now.
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
You have to download the updated SD card contents that match the version of the firmware on your FC. You can find the contents here: downloads.open-tx.org/2.2/release/sdcard/ Delete the contents of your SD card then replace it with the files from there.
@DavidHanniganJr
@DavidHanniganJr 5 лет назад
@@JoshuaBardwell you right. I'm dumb. Thanks.
@ehunter2010ed
@ehunter2010ed 6 лет назад
Thanks Josh this was a quick easy video for taranis open TX. I was running 2.2.0 and forever! Just flashed it to 2.2.1 following ur video went perfect. I don't use lua but I still glad I finally put the newest FW!
@du4-fpv777
@du4-fpv777 6 лет назад
Totally off subject but Is that a jacaranda tree at the end? Looks like the jacaranda's we have here in Florida. Awesome review! I'm waiting about another month to get a x9d and crossfire! I'm glad I waited until you do it!
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
It's a cherry.
@PortalFPV
@PortalFPV 6 лет назад
I would like to upgrade to 2.2.1 but for the Q-X7 they made it even more annoying to turn on and off. I now have to hold the power button for 2-3 sec to turn on and even longer than before to turn off. If there is a way to change this that would be great!
@darinfong
@darinfong 6 лет назад
I did the update on my Taranis Q X7 to 2.2.1, but when I run the bf.luac script, all the values are blank on all the pages. I am using an FRSky R-XSR receiver on a CL-Racing F4S FC. The smart audio is working via the OSD. I also have telemetry data in the Taranis. Any idea why I am not seeing any data in the bf.lua script?
@darinfong
@darinfong 6 лет назад
I figured it out, finally! On the CL-Racing F4S FC, the telemetry accepts the inverted (regular) S.Port signal. You do not have to use the uninverted S.Port pad on the R-XSR. Then I had to make sure in BF CLI that telemetry inverted was set to OFF and telemetry half duplex was also turned off. In BF CLI type these commands: set tlm_inverted = OFF set tlm_halfduplex = OFF save That's what did the trick for me to finally get the BF LUA scripts working.
@jacobballew2532
@jacobballew2532 6 лет назад
Yeah but where’s amberrrrr
@Robroy11976
@Robroy11976 6 лет назад
First time Frsky user here wuth a Qx7. Flashed OpenTX 2.2.1, added Lua script together with all files instructed on the video. I'm wondering why don't i have the VFAS option on the display page? All i get is the screen 1 to 4 menu without the top display menu. i wanted to select it also on the special function but can't see the option.What did i do wrong?
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
If you don't see VFAS on the display page I think the sensor has never been discovered. Bind the transmitter, power up your quad, go to Telemetry screen then Discover Sensors. If the FC is sending telemetry you should see VFAS come in.
@Robroy11976
@Robroy11976 6 лет назад
Joshua Bardwell Thank you for replying to my query. Will try it out.
@bobsterit
@bobsterit 5 лет назад
hey Joshua, I need a little help with some trouble shooting, I followed you instructions in this video and now my Taranis Qx7 disconnects from receiver after just 1min I don't know if it is the receiver(new build which I flashed with the Fport firmware) or the fact that I updated the firmware on my TX should I try reflashing my Tx or my RX or both?? Thanks
@reinhardplietsch9707
@reinhardplietsch9707 6 лет назад
Nice video, but 2 glitches: - both .lua and .luac have been contained in the .zip package, therefore dragged&dropped onto the Taranis - I tried deleting all the .lua's on the Taranis, only leaving the .luac's onboard. No more memory shortage warnings since!
@juggalizzle75
@juggalizzle75 6 лет назад
I've never been able to read or write with companion. It SAYS it writes firmware but doesn't. It also says it reads models and settings from radio but only model 1 shows ... i always have to write firmware and backup to\from SD on radio. Any ideas?
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
That's pretty weird but I don't know..
@juggalizzle75
@juggalizzle75 6 лет назад
it is weird. Does it on every PC i connect this qx7 to. Ive went back and forth with frsky and the betaflight guys to no avail. They just stopped responding after exhausting possible solutions. There are zero errors and companion says everything went fine. I know its not the case but it acts like companion is interacting with a second version of the firmware/settings that never get loaded in the Tx when booted. its a mystery.
@6.5creedmoorrips6creedmoor2
@6.5creedmoorrips6creedmoor2 5 лет назад
Hey Joshua I've been trying to update firmware on taranis x9d plus believe its 223 now. But when I go to crossfire in sd card its saying script killed any help would be great
@JoshuaBardwell
@JoshuaBardwell 5 лет назад
You have to separately update the SD card contents. Could that be the step you missed?
@6.5creedmoorrips6creedmoor2
@6.5creedmoorrips6creedmoor2 5 лет назад
I did both had them both working then something happened nd only 5 things are on sd card now. Nd now the computer is trying to repair sd card but no luck
@cswann0821
@cswann0821 6 лет назад
ok so I was getting a bunch of syntax errors if I tried to execute the files in the BF folder. I changed the luac file name to lua. Now when I hold the Page button down to activate it....it seems to be working. Why would I be getting the Syntax errors when going through the execute steps? Also, so if I want the PID changeing screens to show up last I should use the UI.lua file, but change the name to " BF.lua " correct?
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
The thing you say about renaming UI.lua to BF.lua is not correct. You need to edit UI.lua as shown in the video, not rename it. IDK why you're getting syntax errors when you run the one script but not the compiled version.
@cswann0821
@cswann0821 6 лет назад
The same error you received when executing the luiC on your horris, is the syntax error I receive, but I know I checked lui, and luic when I flashed. will try again ...maybe I missed something.
@miniquadsmegafun3619
@miniquadsmegafun3619 6 лет назад
Joshua one kanobi you’re my only hope!! My brand new kakute v2 says that it’s not being recognized when I plug in the usb... I tried the impulse tool but it can’t even see the board :( what do I dooooo!!!
@sandyjohnston9457
@sandyjohnston9457 6 лет назад
Thankyou Joshua, I have been following you since I bought a Taranis 9 plus SE back in August this year. Mine came with 2.2.2 and everything uploaded sweet for the LAU scripts, including the Amber sound pac. I have yet to get a build up and running but I’m working on a 220mm quad. I want to run it “slow” at first to get used to it. Getting back in the hobby after many decades of other bits of life getting in the way. I enjoy your persistence and explanations. This digital stuff is so different to my early 26Mhz 2 channel glider of the 60s. Keep up the fantastic how to’s and I will get onto the patron page soon. Thanks again from NZ.
@CheeseFPV
@CheeseFPV 6 лет назад
Every time I drag and merge the bf and script files onto my sd card it shows fine when the sd is in my computer but when I restart my taranis X9d + se .... it scrambles the whole card and I get the sd card warning right away. Any information on why this would happen? I have tried many times. Thanks
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
The SD card that comes with the Taranis is kind of shit. Replace it with even a cheap aftermarket one.
@CheeseFPV
@CheeseFPV 6 лет назад
Joshua Bardwell that’s easy enough... I will give it a try thanks
@CheeseFPV
@CheeseFPV 6 лет назад
Joshua Bardwell well that was the fix!!! After spending a week uploading and formatting that crappy SD card. I think you should mention this in a video or in the description. Thanks again, I guess I should have asked sooner.
@VdubSPAZ
@VdubSPAZ 6 лет назад
I just installed all this..... I have never had Lua scripts on my controller at all and of course I had to be the first one to find this error... But with that being said when I remove the BF folder out of my SD card I can use the menu key the same as you did in the original thing without having to go through all that other stuff... You may want to check into it again all I did was remove the BF file after I got the memory error... So maybe you have to install the BF file first to make sure it all works and is installed.. but after that you can remove it in the menu thing will work just the same... If I need to I will show or upload a video ...
@modocfpv6305
@modocfpv6305 6 лет назад
Thanks a lot Joshua
@fpvandgasrc4321
@fpvandgasrc4321 6 лет назад
Hey Joshua.. im having a problem with my taranis x9d plus. I have updated it to opentx 2.2 about 6 months or more ago. Everything working fine up until now. When the radio plays certaon sounds it will get cut off mid way through. Example.. when the inactivity alarm plays it will say.."inactivity al." And stop and wont finish the sound file. Also some other sounds will be cut off as well.. they start to play and then stop.. everything else works perfect. Please help. Thanks
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
I'm sorry I don't know specifically about this issue but I would suggest trying updating the SD card contents to make sure you have the latest version. That's honestly a long shot though.
@cknoma
@cknoma 6 лет назад
Will this fix the out of memory error for the KISS lua script as well?
@JoshuaBardwell
@JoshuaBardwell 6 лет назад
I think so.
@elis51501
@elis51501 5 лет назад
I can’t seem to get the bf or the kiss Kia scripts to work on my taranis qx7 with open rx 2.2.2? I attempted tryout sequence and no luck, any ideas?
@JoshuaBardwell
@JoshuaBardwell 5 лет назад
First confirm telemetry is working. When you run the script does it say "NO TELEMETRY" at the bottom? When you go to the Telemetry screen, do you see a bunch of sensors with blinking stars next to them indicating they are being updated?
@elis51501
@elis51501 5 лет назад
Hey Joshua, I do have telemetry working, but I keep getting that syntax error when I try to use the scripts
@exorc1st995
@exorc1st995 6 лет назад
what if you don't select lua and only luac ? will it not work ? would pick luac right away then I guess in telemetry screen?
@stu22uk
@stu22uk 6 лет назад
Thanks Joshua. Will be installing crossfire soon also, so please, document in exquisite detail as you like.... 😋
@hohtz
@hohtz 6 лет назад
What's that antenna?
Далее
Everybody should be using these FPV Lua Scripts
22:51
Просмотров 115 тыс.
How to make your Taranis read out low voltage
16:54
Просмотров 99 тыс.
荧光棒的最佳玩法UP+#short #angel #clown
00:18
OYUNCAK DİREKSİYON İLE ARABAYI SÜRDÜ 😱
00:16
Просмотров 2,7 млн
The Truth About SIM Card Cloning
13:04
Просмотров 1,1 млн
OpenTX Taranis Throttle Limit on Side Slider
20:46
Просмотров 43 тыс.
FrSky Receiver Firmware Update | R-XSR LUA SCRIPT FIX
18:42
Taranis X9D: Upgrading Firmware
11:32
Просмотров 110 тыс.
Why does my ExpressLRS LUA script hang?
2:47
Просмотров 3,1 тыс.
Introduction to LUA Scripts in OpenTX
8:18
Просмотров 53 тыс.
How to make your Taranis play audio with a switch
6:05
Build Your Own Drone Tracking Radar:  Part 1
20:08
Просмотров 541 тыс.