Easy iNav LUA Script: Simple Setup step by step

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 109

  • @Aarons14bugs
    @Aarons14bugs 5 років тому

    I've heard about this mystical Lua Script for years now, but your easy to follow tutorial was the 1st one that I had any success in getting it working. Thanks again!

  • @swissfreek
    @swissfreek 5 років тому +2

    Ooooh my goodness I *love* this script, and for the same reason. Waiting for that “GPS good” call out and having the flight mode feedback confirmation is just invaluable to me. Even on my X-Lite and Tango with their tiny screens, having the verbal/haptic feedback is just awesome, and I’ve saved my plane twice when I lost video and used the little map on the screen to get myself back in visual range.

  • @spartan3299
    @spartan3299 5 років тому +1

    Great explanation of how and why we use the INav/Yappa/Crossfire LUA s!

  • @biggingerjim8649
    @biggingerjim8649 5 років тому +4

    Fantastic! I’ll do that, looks great. I put a little OLED display on my AR900 after seeing you do it on a previous video and it displays GPS status etc. But it will be handy having it on the radio too and audio announcements. Thanks again Lee.

  • @spinoutbill8511
    @spinoutbill8511 5 років тому +1

    I just installed this last week. It's a great feature and I think being able to replay the last 5 log files will be handy. Thanks Lee.

  • @SuperAeromike
    @SuperAeromike 5 років тому +1

    I have installed the LUA script on a quad and now I will put it on the Dart as well, great feature I also installed the JAPU script on a quad with Arducopter with your help so thanks for another great video.

  • @100SteveB
    @100SteveB 5 років тому

    I like the idea of the model actually announcing back to you which mode it is in. With Arducopter i have had a few instances where for whatever reason the craft did not switch into the mode i had selected via my switches. Yes, you can set your osd up to show what mode your craft is in, but having the actual tx announce the mode sounds much better to me - all to easy not to notice that the mode did not change on the osd. I have never played with lua scripts, really is something i should have a go at. Thanks for the very interesting info.

  • @itzikronen105
    @itzikronen105 3 роки тому

    Dear Lee, thanks for the video. it will be good to mention that we need to copy the widget as well

  • @ChrisBalmforth
    @ChrisBalmforth 5 років тому +1

    That looks fantastic Lee, many thanks!

  • @carolinakayakadventures270
    @carolinakayakadventures270 5 років тому +1

    Wow!!! That's amazing!!! Thanks for sharing this Lee!!!

  • @FraggsUK
    @FraggsUK 5 років тому

    Thank you Lee , just what I was after , another great guide as always 👍. I have once or twice had the script 'lock up' because of I presume a lack of memory on the Taranis plus !

  • @corpseguard504
    @corpseguard504 5 років тому +1

    Great feature Lee. I don't know that my Horus can do such a great thing. Damn opentx has so many hidden features for me 🤣👍
    Thanks for that. Love your channel.

    • @corpseguard504
      @corpseguard504 5 років тому

      Lee did you know how to enter the script by Horus? I dont have a menubutton. I test all buttons but cant get in there

    • @corpseguard504
      @corpseguard504 5 років тому +1

      Ah found it. Stick command was it on Horus. Throttles stick in the upright corner

  • @MCsCreations
    @MCsCreations 5 років тому +1

    Fantastic, Lee! Thanks a lot! 😃

  • @jcfpv3454
    @jcfpv3454 4 роки тому

    Hey for some reason I followed you video to a T and put the inav lua scripts on my taranis qx7 but none of the readings work as far as compass, milliwatts,etc and for some reason all it shows are amps, and of I hit the the center button it shows all the reading gps etc but doesn't transfer to the telemtry screen

  • @fxvbh8513
    @fxvbh8513 4 роки тому

    It's working great. Thanks to you Lee!! Fantastic.

  • @RcBuddy
    @RcBuddy 5 років тому +1

    As always good info on how to! Thanks.

  • @fraserboyd5448
    @fraserboyd5448 4 місяці тому

    Is there also an INAV setup LUA like there is for Betaflight, that lets you configure settings on the FC from the transmitter?

    • @Painless360
      @Painless360  4 місяці тому

      I've not come across one, if you find one please let me know... Happy flying

  • @vovsen123
    @vovsen123 4 роки тому

    It a shame that it on my Radiomaster TX16S set timer 3 to off if it’s setup as a widget on screen 2

  • @moemuggy4971
    @moemuggy4971 3 роки тому

    I have downloaded the inav lua script to my FR sky Xlite using Crossfire but all of the telemetry data on the screen is just blinking zeros. I have telemetry output enabled in inav and I have attempted to discover new sensors, but the radio will not discover more, and it will not allow me to delete the existing ones. Naturally the battery is plugged in, and I am getting RSSI from the Crossfire, but nothing more. What am I missing?

    • @Painless360
      @Painless360  3 роки тому +1

      Sounds like the setup or wiring on the model missed a step. I use CRSF to the FC with Crossfire and it works great,

    • @moemuggy4971
      @moemuggy4971 3 роки тому

      @@Painless360 sorry, I just received this reply. For some reason UA-cam is not pushing my notifications.
      I have figured this problem out. There is not a straightforward fix, because there is a bug in the crossfire receiver using matek? Basically what I did was to move the receiver around on the UART's, and disable Mavlink. Then reboot everything. Apparently I'm not the first person to have this problem. I found the solution on this forum. There doesn't seem to be an exact cause or fix. And not everybody experiences this problem. After many many tries repeating all of the solutions suggested, I finally got it to work. You can read more about it here.. Maybe you could make heads or tails of it, in case you see this problem arise again.
      github.com/iNavFlight/inav/issues/6931

  • @cwwisk
    @cwwisk 3 роки тому

    What telemetry data is needed? I'm new to telemetry, but not to flying. I have a receiver with built-in barometer and variometer, but that doesn't sound like enough to complete inav function. I need 8 servo channels (12 would be better), but would FrSky X8R Pro be a superior option to Spektrum 8020T for this application? I'm happy to get into whatever I need to maximize performance. I just don't know where to start. I guess I'm looking for a shopping list. Lol

    • @Painless360
      @Painless360  3 роки тому +1

      All of the sensors sent from INAV. See my INAV for beginners 2020 series... Happy flying

  • @undeze
    @undeze 3 роки тому

    Thanks for this informative and concise video :)

  • @jyunte
    @jyunte 5 років тому

    If you're running crsf, you can run the iNav LUA scripts on your supported radio, just for a different view. That would work, right?

    • @Painless360
      @Painless360  5 років тому +1

      Yep. See my BrainFPV series...

  • @syedmuhdakram8450
    @syedmuhdakram8450 4 роки тому

    I have problem when i turn to right on my qx7 display turn to left and when turn right it turn to left , I already calibrate flight controller on configurator its ok but not on inav lua

    • @Painless360
      @Painless360  4 роки тому

      If you're talking about the artificial horizon - that is how it works - ua-cam.com/video/lxVd4LnHDjQ/v-deo.html

    • @syedmuhdakram8450
      @syedmuhdakram8450 4 роки тому

      Painless360 thank you so much for that info but I’m getting some problem. On my transmeter inav telemetry point direction is wrong it not point aircraft same as realtime

  • @johncarold
    @johncarold 5 років тому

    I have a quick question about INAV, I have a AR Wing and I have a matek 411 wse, crossfire and a Xlite. I was going to fly and I found out that the aleron are backwards and the elevator is correct. How do I reverse the aleron without changing the elevator. Thanks again. The NewBee

    • @Painless360
      @Painless360  5 років тому

      Please see my build videos for iNav. The BrainDART is the latest...

    • @johncarold
      @johncarold 5 років тому

      Thank you

  • @pioupiou1098
    @pioupiou1098 5 років тому

    Thanks painless for your very good information

  • @dartanyaun2042
    @dartanyaun2042 3 роки тому

    Hello again! I've almost finished a balsa flying wing build using TBS crossfire and a TBS tango as my transmitter. Do you know of any of these scripts are compatible?

    • @Painless360
      @Painless360  3 роки тому

      I use the INAV lua script with a Crossfire build and it works great. Use CRSF. Happy flying

  • @rougeneon1997
    @rougeneon1997 4 роки тому

    Is it different on Qx7? I finally figured it out. I had to enable mine on the "screens" page

    • @Painless360
      @Painless360  4 роки тому

      Possibly if you are using an older version of Opentx.. Happy flying!

  • @Chris-vc1dh
    @Chris-vc1dh Рік тому

    so in iNAV i need to turn on telemetry, what about in crossfire, do I need to set RX power as mini is showing 0Mw?

    • @Painless360
      @Painless360  Рік тому

      Yes, please see videos like ua-cam.com/video/9ZmGUxCDiU0/v-deo.html Best of luck!

    • @Chris-vc1dh
      @Chris-vc1dh Рік тому

      @@Painless360 my battery remains % is 10% less on telemetry display than osd, any idea why, my friend?

    • @Painless360
      @Painless360  Рік тому

      There are specific settings needed in INAV for the app to read correctly. It's all in the dixumentation for the INAV lua script... Best of luck

    • @Chris-vc1dh
      @Chris-vc1dh Рік тому

      @@Painless360 I thought all I need to do is turn telemetry on in configuration tab and telemetry goes but I learn something new every day

  • @peteinch
    @peteinch 5 років тому

    Hi Lee I’ve just loaded up the Lua script for the telemetry, I’m not finding all the sensors can only get three . The control board is a Matek 405 wing and a X4R receiver do I need to ad some extra wires to get them to work hope you can help me with this problem Cheers Pete

    • @Painless360
      @Painless360  5 років тому

      Yes. See my builds. You need to setup Smartport telemetry in iNav and wire up the RX.... Happy flying!

  • @chump54
    @chump54 4 роки тому

    I had to change the fuel unit using the cli to “percent” as the default for the frsky fuel sensor is MAH command is set smartport_fuel_unit = PERCENT

  • @ehsankeshtgar6734
    @ehsankeshtgar6734 3 роки тому

    Hi and thanks for another great video.
    Does this script work with Ardupilot as well ? I have Matek f405-CTR running Ardupilot and my receiver is R9 slim plus. I use sbus telemetry from Matek board and getting all data back to my taranis radio but could not find any compatible Lau script for that. Any help would be appreciated. Thanks.

    • @Painless360
      @Painless360  3 роки тому +1

      Check out my Pixhawk and Ardupilot videos. I use Yappu scriot here... Happy flying!

    • @ehsankeshtgar6734
      @ehsankeshtgar6734 3 роки тому

      @@Painless360Thanks, I followed your pixhawk video and build my previous quad with your suggested yaapu script. It works great with my Pixhawk but not with telemetry data from Matek F405CTR. Is there any other script that I can try specifically for Matek?

    • @Painless360
      @Painless360  3 роки тому +1

      Not that I am aware of - sounds like the telemetry setup needs a tweak. Best of luck!

    • @ehsankeshtgar6734
      @ehsankeshtgar6734 2 роки тому

      @@Painless360 I finally found solution to my problem, in case someone else has the same issue. Matek f405 CTR provides two telemerty port and I use telemetry2 which is TX4 on the board and I connect it to the sPort in my r9 slim plus. Based on Matek documentation, for this to work SERIAL2_PROTOCOL should be set to 4 (s.port) and it's good and it gives you all the telemetry data/sensors,but doesn't work with yaapu script. For yaapu script to work,you need to set this to 10 and NOT 4. Now it works the same as Pixhawk and you will be able to see all telemetry data on Tarranis screen. Hope this helps someone facing the same issue. Happy flying :-)

  • @reubenward2430
    @reubenward2430 5 років тому

    Thanks for the vid for some reason I'm not getting mode call outs it will tell me it ready but no thing else any idea why

  • @jimmynoname4089
    @jimmynoname4089 5 років тому

    Easier than what i thought!

  • @visioneerone
    @visioneerone 4 роки тому

    Got it working on my T16. Can’t find a way to switch from metric to imperial, though...

    • @Painless360
      @Painless360  4 роки тому

      Have you tried changing the units in the OSD tab in iNav configuratior?

    • @visioneerone
      @visioneerone 4 роки тому

      @@Painless360 Yes. MPH and feet in my OSD but kmh and meters in the script. I'm sure its something simple.
      Kind of maddening though, as all of the screenshot example screens in the github instructions are in imperial...

    • @visioneerone
      @visioneerone 4 роки тому

      Oh I see. You have to set the Dist, Alt, GAlt and GSpd sensors to the desired units. Also have to adjust the compass offset to match the board orientation in the iNav config.
      Working properly now!

  • @rumbey1
    @rumbey1 4 роки тому

    thanks for the video. All great except no GPS data. All other data is fine. Any ideas?

    • @Painless360
      @Painless360  4 роки тому

      Not really. If the GPS is all setup and working in iNav then it should be in the discovered sensors list in the telemetry menu in the radio... Best of luck

  • @badmofo350
    @badmofo350 4 роки тому

    I'm trying to get this onto my TX16s. On Github it only shows the 5 versions available for download as it shows in the video. 2 for Taranis, 2 for Horus and one that just says Luatelemetry.zip. will the last one work on my tx16s or is the tx16s not supported for this lua script yet? Thanks

    • @badmofo350
      @badmofo350 4 роки тому

      Nevermind. I just found your video. Man you're good.

    • @Painless360
      @Painless360  4 роки тому

      See my video on adding it to the RadioMaster. It's the same for the Jumper..

  • @t0pa91
    @t0pa91 4 роки тому

    i dont know why but i dont get any telemetry informations on qx7

    • @Painless360
      @Painless360  4 роки тому

      Without more detail it's impossible to offer any advice. Happy to help but please watch ua-cam.com/video/olIqTiSJHIY/v-deo.html and come back to me with more detail of what you've tried..

  • @cdavidnk
    @cdavidnk 2 роки тому

    sry if I missed it on the video but does the iNav LUA script work with iNav/betaflight only? I fly exclusively with Ardupilot+yaapu, but would like to try the iNav LUA script. Would it work with Ardupilot? And out of curiosity, does yaapu work with iNav/BF? Thanks.

    • @Painless360
      @Painless360  2 роки тому

      I use INAV lua script for INAV and Yaapu for ardupilot. I don't mix and match... Happy flying

  • @myozone
    @myozone 4 роки тому

    Daft question, will this work work -Mission Planner- Arducopter ?

    • @Painless360
      @Painless360  4 роки тому

      See my video on the yappu
      LUA script in my recent Arduplane builds... Happy flying

  • @francorosato1957
    @francorosato1957 3 роки тому

    Hi Painless360 I own a Taranis X9d 2019 SE, I have carefully followed your video explaining how to set up (LUA SCRIPT INAV). Once the operation is finished and the files have been inserted as indicated, when the transmitter is turned on the lua works but I do not read any example values, I see the satellite symbol but it marks 0 when I see 9 hooked up to the monitor connected separately, the other values are also all at zero. I ask your kindness if you can tell me why I don't read any values. I apologize for my probable bad English. I am Italian and help with the translator. Thank you in advance and I hope to receive your advice as soon as possible, good day Franco.

    • @Painless360
      @Painless360  3 роки тому

      If there are no sensors being shown on the radio then the problem is with the setup on the model, not the LUA script. I'd start there.. Best of luck.

    • @francorosato1957
      @francorosato1957 3 роки тому

      @@Painless360 Painless360 thanks for the quick reply, I flew with this model and it flies well this is the configuration: F.C. Matek 405 wing, Crossfire module and receiver. So it's not a model or flight control issue. As I said I followed carefully your video decompressed the files as indicated I launched the new search for the sensors via telemetry they were recorded and I read their values in the transmitter screen, the problem I encounter is that when I launch luascript inav at this point I do not read any sensor value eg. connected satellites i see 0, battery voltage 0, where should i have the numbers i only have the value at 0, can you give me some advice so that i can read the measured values? Thanks Franco

    • @Painless360
      @Painless360  3 роки тому

      They should be automatically read. I would delete and rediscover the sensors in the telemetry page. Best of luck

  • @whitecloudrc8715
    @whitecloudrc8715 5 років тому

    Thanks for a nice video! I tried this and it works only a few minutes. Then my radio starts shouting "sensor lost" and the values in the lua script screen are updated very very slowly. Any idea what could be wrong? (I'm using QX7 and R9 system)

    • @Painless360
      @Painless360  5 років тому

      Not sure, I don't use the R9M here.. If you figure it out please let me know...

  • @KwongKan
    @KwongKan 5 років тому

    ehhhhh can I run that on a Tango 2? tiny virtual cockpit on that OLED would be cool

    • @Painless360
      @Painless360  5 років тому

      The Tango display looks like a version of the one on the QX7 so I'd expect that only LUA scripts that support the QX7 would be in with a chance...

    • @KwongKan
      @KwongKan 5 років тому

      @@Painless360 oh, I didn't realize that could be radio/hardware -specific...?

    • @Painless360
      @Painless360  5 років тому +1

      The LUA scripts usually are (if they use any type of graphics)...

  • @jostak3577
    @jostak3577 4 роки тому

    Hi, It might be important to mention that the script config saving does not work with Opentx 2.3.5 on Taranis X9d+, after upgrading to OpenTX 2.3.7 it works correctly. Thank you and regards

    • @felisukofpv4002
      @felisukofpv4002 4 роки тому

      I have Opentx 2.3.5 on my X9D+ and I can't run the script. I get "attempt to call a nil value" error. I was getting the same error with previous versions of Opentx. Do you think upgrading to 2.3.7 will solve this situation?
      I 've already checked the "Common Taranis Errors" from the iNav github site. Neither solution works for me.

    • @mfoo3038
      @mfoo3038 4 роки тому

      @@felisukofpv4002 Did you ever solve this?

    • @felisukofpv4002
      @felisukofpv4002 4 роки тому

      @@mfoo3038 Hi. Nope, I didn't :(

    • @mfoo3038
      @mfoo3038 4 роки тому

      Felisuko FPV ok, i had it today but solved it. Check the free mem (hold ent, change to second page). Then remove other active lua scripts and cleanup models etc. in my case it was a ltm telemetry script - although it was only activated by a switch which wasnt set. After removing that, it worked

  • @kiwifpv5865
    @kiwifpv5865 5 років тому

    Hi Lee, I have a question regarding the OSD in INav...I have a Mamba F405 with AKK FX2 Ultimate. I can see all other items I like in the OSD, but not the vTx channel and power level. MSartaudio seems to be working fine (I can make changes via the OSD/Tx) and I have no issues with teh feed either. Is this something that might still be in development? The other thing I have come across while using this script is a warning saying battery critical as soon as I take off and soon afterwards zero percent...any hint would be as usual greatly appreciated. Thank you KiwiFPV from New Zealand

    • @Painless360
      @Painless360  5 років тому +1

      Check the battery critical levels in the menu. Its all configurable. Check the vbat and battery voltages are right in iNav power tab and in the sensors on the radio too... best of luck

    • @kiwifpv5865
      @kiwifpv5865 5 років тому

      @@Painless360 thanks Lee for the hints...always a bit tricky when you change from something you know (Betaflight) to something slightly different ( iNav). Any hint about the OSD part or could that be a glitch? Couldn't find anything on GitHub...

  • @gmivisualsjason3729
    @gmivisualsjason3729 5 років тому +1

    Excellent

  • @emmanuelsab1095
    @emmanuelsab1095 3 місяці тому

    hello can this LUA script run on Ethos X20S?

    • @Painless360
      @Painless360  3 місяці тому

      looks likely, see luatelemetry.readthedocs.io/en/latest/

  • @FlatRat3
    @FlatRat3 5 років тому

    Is there any conflict with running iNav and betaflight LUA on the same radio? Would you have to select which LUA or will the radio automatically know which one you want?

    • @Painless360
      @Painless360  5 років тому

      if you watch the video then you should see how you set it up. You select the Script you want to run. The only problem I could potentially see is if a script overwrote the sound files of another one so that it played the wrong sounds. But that's never happened here with Yappu (Ardupilot) and iNav scripts, hope that helps

  • @JohnCuppi
    @JohnCuppi 2 роки тому

    Thanks! Very helpful!

  • @patience_is_key
    @patience_is_key 3 роки тому

    Another awesome vid dood :)

  • @rajvanshsinghbhuee
    @rajvanshsinghbhuee 5 років тому +1

    Thanks for this

  • @andresherrera3649
    @andresherrera3649 3 роки тому

    Thanks for the info!!

  • @sams9716
    @sams9716 5 років тому

    Would this work on SBUS as well?

    • @Painless360
      @Painless360  5 років тому +1

      If you also wire up and configure Smartport telemetry to the reciever... Happy flying

    • @sams9716
      @sams9716 5 років тому

      @@Painless360 Got it working on my C1 Chaser. I love it, thank you so much! I love the battery warning. One question on that is how does it know what size battery is in the plane? Does it just go by the voltage or is it by the setting in iNav?

  • @Sunnyfpv1617
    @Sunnyfpv1617 8 місяців тому

    I need this for boxxer

    • @Painless360
      @Painless360  8 місяців тому

      I rely on it now to monitor GPS locks while waiting to fly.. It is great stuff! Well worth using...

  • @sladelefty
    @sladelefty 4 роки тому

    Thank you, now this is extreme cool!

  • @TeamYankee2
    @TeamYankee2 3 роки тому

    I can't for the life of me get the "Fuel" setting to work right... it always counts up from zero! Battery is set correctly in inav...
    Edit: Nevermind.. even though is was correct in the GUI - had to set "set smartport_fuel_unit = percent" in the CLI

    • @Painless360
      @Painless360  3 роки тому

      You got there before I could answer.. Happy flying

  • @arctic2607
    @arctic2607 2 роки тому

    Does this still work with edge TX as well as elrs?

    • @Painless360
      @Painless360  2 роки тому

      Yes. Video on a few tips and tricks for ELRS telemetry on the way very soon. Stay tuned