FOLLOWUP: Updated Betaflight Lua Script

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 พ.ย. 2024

ความคิดเห็น • 95

  • @johnsammons9788
    @johnsammons9788 6 ปีที่แล้ว

    Thank you for the update. My X7S is on the way. Can't wait to start learning how to interface BF from my radio!

  • @Bamlydean
    @Bamlydean 6 ปีที่แล้ว

    A while ago I tried deleting the other radios in the list and unfortunately it did not work for me. Luac is the only way that worked for me and I love the coding for making the VTX script come up first! Solid work!

  • @GTiGuy316
    @GTiGuy316 6 ปีที่แล้ว +1

    Awesome job with the videos and keeping things up to date as time goes. Keep up the good work man.

  • @MattBeardsley
    @MattBeardsley 5 ปีที่แล้ว

    Awesome! Thanks for this... I was experiencing the memory error on my QX7 and just deleting the Horus and X9 folders from the SD card fixed it. yay!

  • @Lance1739
    @Lance1739 6 ปีที่แล้ว

    You are a Legend Man!! installed r-xsr to quad, F.Port XJB 145 with full telemetry and Tramp protocol love it! telemetry worked but not Lua scripts, followed this video Bang all works
    P.S. VTX screen first rocks

  • @blackmennewstyle
    @blackmennewstyle 6 ปีที่แล้ว

    I'm definitely one of these people who flashed with noheli-lua-luac-en and then the BF lua script is working like it's supposed to when pressing the page button and navigate through all the different sections of the script!
    If you search that LUA script memory error in the openTX github repository, you can even find the apologize from the specific developper who did the modification in the code with a work-around and final decision to rollback and pushing it in the nightly builds lol
    Have a great week Joshua :)

  • @ImMoneyMike
    @ImMoneyMike 6 ปีที่แล้ว +1

    Dang.... J.B. putting out videos like every day. Thanks brother, look forward for more great content from ya. 👊👍

  • @sebastienmorente2574
    @sebastienmorente2574 6 ปีที่แล้ว

    Thanks Joshua, Everything works fine on my XD9 plus.

  • @golden4248
    @golden4248 6 ปีที่แล้ว

    That is what I was asking about, the crsf for the taranis. I have been using the sticks on the taranis to bring up a menu on the goggles, nice to get it on the taranis though.

  • @GibitStylin
    @GibitStylin 6 ปีที่แล้ว +1

    Thanks for the follow-up! Now if only I could get smart audio working with raceflight

  • @XxKiloxX406
    @XxKiloxX406 6 ปีที่แล้ว

    everything worked as described! thank you!

  • @AnnieMaitor
    @AnnieMaitor 6 ปีที่แล้ว

    Hi Joshua - thanks for the update. As you're toying with the Horus (loved your face when you got OpenTX on it - lol) and mentioning Crossfire and CRSF to be coming soon... I'm new to quads and wondered if you'd encountered the Inverter Mod or 'upgrade' as it's called. I just received my Crossfire Micro Tx for my X10S and it looks like TBS are shipping the 'upgrade' in the box - just checking if this is a 'thing' before I go wave a soldering iron at the X10S :( Thank you. :)

    • @AnnieMaitor
      @AnnieMaitor 6 ปีที่แล้ว

      To be clear - this is to get the max baud rate. :) I realise it will work if you're prepared to slow the Horus/CRSF. Thanks again.

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว

      Yes it is a thing. Necessary to get the script working with the micro module. Not necessary with the big module.

    • @AnnieMaitor
      @AnnieMaitor 6 ปีที่แล้ว

      Thanks Joshua - so if I buy the full size Crossfire module, I don't need to add/solder the 'upgrade' to the X10S to get the full benefit of CRSF? If that's the case then that's great news.

  • @importryderify
    @importryderify 6 ปีที่แล้ว

    Now that you have the time you should also get a Spektrum to show us Spektrum guys also...😁👍 thanks

  • @KingFPV
    @KingFPV 6 ปีที่แล้ว +3

    Thanks for the info JB!

  • @Vaughnboilore
    @Vaughnboilore 6 ปีที่แล้ว

    Okay now you need to help me out! I’m getting ready to update my Taranis to 2.2.1 and also setting up crossfire along with you as well when you do it also. I have the crossfire on my tango but going to use it on my new updated tricked out Taranis..new gimbles/kickstand/ antenna mod... but anyway in short will you do a whole new video of all the changes in the last three videos so I don’t have to jump all around to do it correctly PLEASE! I just want to do it rite once and I think a whole new video would help thousands of us wanting to do the same... Thank so much from OCD FPV...also I’ve searched and no one on TH-cam has a clear walkthrough about this latest and greatest that is user friendly so you would be the first and I’m sure it would be viewed thousands of times for a long time.

  • @midnightcharger2
    @midnightcharger2 6 ปีที่แล้ว

    Wondered if possible to route the Lua scripts through an encoder on the Taranis/Horus. The 6 dial encoder would work great to split up the screens and lock in the one you use most (as JB mentioned on another video VTX as first page)

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว

      That's clever but I don't think it's possible today.

  • @ArchmageAU
    @ArchmageAU 6 ปีที่แล้ว +5

    Thank you for the quick follow-up.
    I split up the telemetry script into 2 parts on mine. VTX and PIDS. Then put each script on a separate telemetry page (Page key to swap between).
    How could I release this for others?

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว

      Very very nice. Make vTX a separate script!!!!
      Can you send me a zip file via email? joshuabardwell@gmail.com

    • @cafub2650
      @cafub2650 6 ปีที่แล้ว

      ArchmageAU
      Good idea man.

    • @ArchmageAU
      @ArchmageAU 6 ปีที่แล้ว +1

      Packaged and sent (with full instructions).

    • @rondeleos3207
      @rondeleos3207 6 ปีที่แล้ว

      Has this been released anywhere? :)

    • @ArchmageAU
      @ArchmageAU 6 ปีที่แล้ว

      Sent email package with zip and instructions to JB, but it probably got lost in his fast flowing inbox.
      Open to suggestions as to how I can publish it or get it to you (maybe a public dropbox location).

  • @MCsCreations
    @MCsCreations 6 ปีที่แล้ว

    Great to know!

  • @wadetubman
    @wadetubman 5 ปีที่แล้ว

    Thanks for the info. Looking back over the video and the comments is there any update in 2019 on the Crossfire access via the telemetry screens

    • @JoshuaBardwell
      @JoshuaBardwell  5 ปีที่แล้ว

      I'm not sure I remember exactly what you're asking about but Crossfire currently works via Lua scripts and is included with OpenTX.

    • @wadetubman
      @wadetubman 5 ปีที่แล้ว

      @@JoshuaBardwell in your video you mention quick access to the crossfire settings via the display screen / telemetry screen in openTx. But others have said it doesn't work. I was wondering if there is a solution to this since the video was made. Thanks !

  • @JR-kk6ce
    @JR-kk6ce 6 ปีที่แล้ว +1

    Thanks a bunch.

  • @RcReviewsLt
    @RcReviewsLt 6 ปีที่แล้ว +7

    All lua and luac must be under 6 symbols names, otherwise they wont show in that select list! ;]

  • @Ashley-Norman
    @Ashley-Norman 6 ปีที่แล้ว

    Nice job, great fix. So we can't get the crossfire script on the page screens for the QX7? I got it to show up but you can't actually go further than selecting the module or receivers etc

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว +1

      It doesn't actually work, it turns out.

    • @Ashley-Norman
      @Ashley-Norman 6 ปีที่แล้ว

      Thought not, cheers for getting back to me Joshua

  • @OpJachtNaarKarper
    @OpJachtNaarKarper 5 ปีที่แล้ว

    Hello Joshua, on 2.22 you say "delete the msp folder" if you do this you get a syntax error. So better leave it there and only delete the horus and x7.

  • @gizzmomambo
    @gizzmomambo 6 ปีที่แล้ว +2

    Not to do with lua but wouldn’t it be good to change vtx output on a switch. You could put it on arm switch so when it’s parked could be on 25 soon as armed you could raise it. Anyway happy flying

    • @BetterIntegra
      @BetterIntegra 6 ปีที่แล้ว +1

      thats a new feature built into betaflight 3.3

    • @BetterIntegra
      @BetterIntegra 6 ปีที่แล้ว

      it wont even need a switch either. It's low power when disarmed and your set power when armed

  • @chemistt
    @chemistt 6 ปีที่แล้ว

    So I was just listening to this, tired after work :D trying to understand on which wh*res do you want to run lua script and why :D

  • @abovefpv3
    @abovefpv3 4 ปีที่แล้ว

    Hi Joshua Ihave an issue with lua script, rx lua script not open it, and after that message" bad argument #3 to drawtext"
    Rx micro v2 - thank you in advance

  • @stf650
    @stf650 5 ปีที่แล้ว

    OpenTX 2.2.4 and Betaflight lua 1.3 Script don't work. "script error!" It's tiring....

  • @GenesisRC
    @GenesisRC 6 ปีที่แล้ว +1

    Hey Joshua, I have a issue that needs tending to. After doing a rebuild, the radio is not syncing up with the system properly. The transmitter is properly connected and bound to the receiver, and shows a consistent connection with the flight controller shown through the LED's. However it acts like my receiver is dropping signal, which it isn't, and even disarming takes several seconds for it to do. Any suggestions?

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว

      It sounds like the FC does not have good connection to the receiver, and is going into failsafe. Either there is a problem in the wiring or there is a problem in the configuration. But I can't be more specific what the exact problem is as there are too many possible things to check.

    • @GenesisRC
      @GenesisRC 6 ปีที่แล้ว

      Joshua Bardwell if the FC doesn't have a good connection to the receiver what can I change or check to make sure that isn't the problem

  • @Rubbermonster
    @Rubbermonster 6 ปีที่แล้ว +1

    Hahaha I just replied to my old comment on the last video just as you put this one out

  • @khutchinson22
    @khutchinson22 5 ปีที่แล้ว

    In one of the videos around this series you talked about how to keep the RSSI and Voltage values displayed on the transmitter screen after setting up the lua scripts. I cannot find that video. Can anyone tell me how to get those values to display on the main screen? I am using the Frsky X-Lite. Fully updated as of 12/19/18 following your method. Additionally, I have all lua script menus EXCEPT VTX. I'm not sure if my VTX doesn't support or if I need to alter a setting or if I need to wire something for it. Can you shed some light on this as well please?

    • @JoshuaBardwell
      @JoshuaBardwell  5 ปีที่แล้ว

      The X9D displays them on the screen but radios with smaller screen like qx7 and xlite don't do it.

  • @Qaud-a
    @Qaud-a 5 ปีที่แล้ว

    Hey Joshua, So I ran open TX on my Horus x10s and it ran perfectly, then I did the hardware fix to get the Horus to be compatible with crossfire receiver, I did the binding and they matched perfectly, however, when I ran the beta-flight I ran it on all individual Uarts (keeping in mind I chose the Receiver as Serial-based receiver and CRSF serial receiver provider, and it still does not show a connection in the Receiver tab.
    Would you know what is wrong ?

    • @JoshuaBardwell
      @JoshuaBardwell  5 ปีที่แล้ว +1

      Confirm the crossfire module shows green led which indicates it is bound.
      Remember crossfire pin io1 is TX ehuch goes to UART rx on the FC. Pin 2 is rx which goes to UART TX.

    • @Qaud-a
      @Qaud-a 5 ปีที่แล้ว

      @@JoshuaBardwell that fixed it thanks you are awesome.

  • @Siphtor
    @Siphtor 6 ปีที่แล้ว

    I did the update yesterday and everything is working great. The only issue I ran into was that now my system audio files have an Australian accent. I checked in the main settings page and it’s set to English so not sure why that’s happening. I did copy over some of my existing custom audio files but I didn’t touch anything in the system folder. Any thought?

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว

      It must be the audio files on the SD card.

  • @jjt1824
    @jjt1824 6 ปีที่แล้ว

    Hi Joshua, I'm having a problem with my taranis giving me a scrip syntax error
    Telemetry protocal not supported. Any help would be appreciated.
    Thanks!

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว

      The only fix I can think of is to reload the script and make sure you are on a recent version of betaflight.

  • @lanceflaig2537
    @lanceflaig2537 6 ปีที่แล้ว

    Have a Horus x10s and I am running open TX on it. Do you have to run raceflight Lua scripts to talk to raceflight revolt FC? Or can you run the betaflight Lua Scripts on the Horus x10s and it'll communicate with the TBS smartaudio regardless.

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว

      I would assume you need the RF script to talk to RF, but if the Revolt is running BF then you need the BF script.

    • @lanceflaig2537
      @lanceflaig2537 6 ปีที่แล้ว

      Thanks for the info Josh I appreciate it

  • @jmartitel
    @jmartitel 6 ปีที่แล้ว

    Hello
    Thanks for your job.
    The subtitles for your vídeos are been generated by the TH-cam system? I think so.
    Something is different in your audio in here that the system id not enabled to do its job
    (Edited after I have seen a comment of yours)
    This video IS not available to view with subtitles as is usual in all of yours. I think this matter is important for a lot of people whom like me do understand a little bit, but the help of the text is absolutely necesary for the people like me.
    Thanks again to do your best.

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว

      TH-cam auto generates the subtitles or you can manually type them in and submit them.

    • @jmartitel
      @jmartitel 6 ปีที่แล้ว

      Joshua Bardwell
      That is the thing. TH-cam generates always the subtitles for all of your vídeos untill now, I think. And that is the reason that you are "Uncle Joshua" ( El Tito Joshua) for me and for a lot of people in my groups too. But not in this.
      Something is wrong in this video, and believe me, is not the same for me. I can not follow you here. That makes me sad.
      I think many of your followers use the subtitles like me.
      Thanks

  • @ken-kamm
    @ken-kamm 6 ปีที่แล้ว

    Joshua, if anyone could figure this out it would be you - but is there a way to make it so we can execute LUA scripts via a switch? There are so many switches...

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว

      I don't think this is possible right now.

  • @georgeangelakopoulos8884
    @georgeangelakopoulos8884 6 ปีที่แล้ว

    joshua, i manage to read the bf script in my Horus x10s but no numbers apear. Any thoughts? Thnaks!

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว

      Telemetry must be working. Go to Telemetry screen in the X10 and "discover sensors". With the FC plugged in and powered up and etc. you should see sensors like VFAS and AccX, AccY, AccZ appear.

    • @georgeangelakopoulos8884
      @georgeangelakopoulos8884 6 ปีที่แล้ว

      no it doesnt work. my smartport is connected to RX3 on my revolt... i'll try inverted signal from r-sxr to TX6. its so furstrating!

  • @beaudupre3248
    @beaudupre3248 6 ปีที่แล้ว

    My X9D would automatically go to usb storage when plugged in to pc. I had to change it to Ask in radio settings. Couldn't sim for days.

  • @beeradfpv
    @beeradfpv 6 ปีที่แล้ว +1

    For me, while the Crossfire script will show up you can't execute it. I can only reset telemetry or flight. I still have to use the old method. Thus this didn't work for me on an X9D (Maybe only works on a plus?

    • @AliBFPV
      @AliBFPV 6 ปีที่แล้ว

      i had the same thing. just tried, I can select crsf lua, but it doesnt execute

    • @Bamlydean
      @Bamlydean 6 ปีที่แล้ว

      Try discovering new sensors first and try again

  • @gorace71
    @gorace71 6 ปีที่แล้ว +2

    As a noob. You might want to explain what this script is and what it does or direct us new guys to another vid that explains what this is. Thanks josh for all you do

    • @GTiGuy316
      @GTiGuy316 6 ปีที่แล้ว +1

      If you go to his play list page on youtube he got all the brake downs. th-cam.com/video/qboy9crfy58/w-d-xo.html

    • @GTiGuy316
      @GTiGuy316 6 ปีที่แล้ว +1

      that was just a quick copy paste. But he has videos that go way back that even explain what to download and warnings to try to avoid "bricking" your gear.

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว

      Please take a look at the original "long form" instructions linked in my video from this morning. I put links to my original Lua Script videos in the video description and described in the introduction why I would not be including that information.
      Unfortunately, I can't put the full background into every single video or they are all 45 minutes long and pepole who already know the basics complain. So it is a fine line to walk.

    • @gorace71
      @gorace71 6 ปีที่แล้ว

      Thanks to all for the location of the information

  • @AliBFPV
    @AliBFPV 6 ปีที่แล้ว

    Just tried this on the X9D but unfortunately you can select the crsf script after renaming, but it doesnt execute the script. :(

  • @jutzgamingtv6610
    @jutzgamingtv6610 6 ปีที่แล้ว

    I just cant get this to work. It wont show my pids even though i get the telemetry data like voltage etc... I am using a x9d plus and a xsr and they are both running the latest firmware. I hope you can help. Sorry for my bad english btw.

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว

      Maybe your FC doesn't have a bidirectional inverter?

    • @jutzgamingtv6610
      @jutzgamingtv6610 6 ปีที่แล้ว

      Joshua Bardwell i am using the Betaflight F3 board and on an other quad a SPRacing F3 board. Its not working on both.

  • @andreelb
    @andreelb 6 ปีที่แล้ว

  • @fpvwing
    @fpvwing 6 ปีที่แล้ว

    Huh? Was I going to learn something MORE today? Brain not primed. Error. Error. Error

  • @ArchmageAU
    @ArchmageAU 6 ปีที่แล้ว

    I split up the telemetry script into 2 parts on mine. VTX and PIDS. Then put each script on a separate telemetry page (Page key to swap between).
    v1.0.2 script
    www.dropbox.com/s/huyari1622d27bi/bf-tx-lua-TLM-1.0.2.zip
    v1.0.1 script
    www.dropbox.com/s/qvh0vvqliuirbxu/bf-tx-lua-TLM-1.0.1.zip
    I sent this to JB on Feb 26, but nothing had been done with it.
    I use this on my X9D and it works well.

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว

      Pinned

    • @ArchmageAU
      @ArchmageAU 6 ปีที่แล้ว

      Thank you. I hope it helps others. I know you are busy and probably have 1000+ things to work on.

    • @manuelsmeets9392
      @manuelsmeets9392 6 ปีที่แล้ว

      Joshua Bardwell
      Is there any chance that you can make a Video of how to split the lua script into 2 parts?

    • @ArchmageAU
      @ArchmageAU 6 ปีที่แล้ว +1

      Manuel, Joshua Bardwell did not do the split. I did (ArchmageAU).
      The Dropbox has the broken up script and instructions for installation.
      I use this script quite often (as changing VTX is normal for race days, but I change PIDs only rarely).
      I will do a 1.0.2 version split in a week or so as 1.0.2 was only released this month.

    • @ArchmageAU
      @ArchmageAU 6 ปีที่แล้ว

      Updated the script to support version 1.0.2 (including x-lite).

  • @knarii3048
    @knarii3048 6 ปีที่แล้ว

    Subtitles in English please Joshua!

    • @JoshuaBardwell
      @JoshuaBardwell  6 ปีที่แล้ว +1

      There is no way that I could possibly subtitle all of my videos. I barely have time to record them. However, my channel is setup so that ANYONE may submit subtitles in ANY language and I will approve them. If you would like subtitles, find a volunteer to submit them. Or make them yourself in your native language :-)
      Here are instructions how to contribute subtitles to a TH-cam channel: th-cam.com/video/b9cKgwnFIAw/w-d-xo.html

    • @knarii3048
      @knarii3048 6 ปีที่แล้ว

      Joshua Bardwell, I thank you very much for the response, all the work and contribution you make.

  • @crazycaseyfpv7700
    @crazycaseyfpv7700 6 ปีที่แล้ว

    1