Easy iNav LUA Script: Simple Setup step by step

Поделиться
HTML-код
  • Опубликовано: 14 фев 2020
  • github.com/iNavFlight/LuaTele...
    You can see more R/C related videos on the channel - / painless360
    Looking for a video on a specific topic? All of my videos are arranged into easy to use playlists and have lots of text tags on them too for easy searching.
    If you buy from Banggood.com then here is my full list of discount codes: bit.ly/2TF9oMP
    Keep up to date on my projects and builds on social media - / painless360 and / painless360
    If this video was helpful or you liked the content then please consider subscribing and supporting the channel by visiting / painless360 or you can support me by donating using paypal.me/painless360
    Be aware that any comments that are rude, disrespectful or use bullying or threatening language will be deleted. Pedantry isn't encouraged either. This channel is all about helping others and passing on advice and ideas so please comment in that spirit.
    Thanks for watching, please LIKE and SUBSCRIBE and Happy Flying!

Комментарии • 110

  • @spartan3299
    @spartan3299 4 года назад +1

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

  • @swissfreek
    @swissfreek 4 года назад +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.

  • @biggingerjim8649
    @biggingerjim8649 4 года назад +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.

  • @Aarons14bugs
    @Aarons14bugs 4 года назад

    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!

  • @spinoutbill8511
    @spinoutbill8511 4 года назад +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.

  • @100SteveB
    @100SteveB 4 года назад

    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.

  • @SuperAeromike
    @SuperAeromike 4 года назад +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.

  • @ChrisBalmforth
    @ChrisBalmforth 4 года назад +1

    That looks fantastic Lee, many thanks!

  • @carolinakayakadventures270
    @carolinakayakadventures270 4 года назад +1

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

  • @FraggsUK
    @FraggsUK 4 года назад

    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 !

  • @RcBuddy
    @RcBuddy 4 года назад +1

    As always good info on how to! Thanks.

  • @MCsCreations
    @MCsCreations 4 года назад +1

    Fantastic, Lee! Thanks a lot! 😃

  • @fxvbh8513
    @fxvbh8513 3 года назад

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

  • @itzikronen105
    @itzikronen105 3 года назад

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

  • @pioupiou1098
    @pioupiou1098 4 года назад

    Thanks painless for your very good information

  • @JohnCuppi
    @JohnCuppi Год назад

    Thanks! Very helpful!

  • @undeze
    @undeze 2 года назад

    Thanks for this informative and concise video :)

  • @jimmynoname4089
    @jimmynoname4089 4 года назад

    Easier than what i thought!

  • @andresherrera3649
    @andresherrera3649 2 года назад

    Thanks for the info!!

  • @sladelefty
    @sladelefty 4 года назад

    Thank you, now this is extreme cool!

  • @gmivisualsjason3729
    @gmivisualsjason3729 4 года назад +1

    Excellent

  • @hackerssuck589
    @hackerssuck589 3 года назад

    Another awesome vid dood :)

  • @rajvanshsinghbhuee
    @rajvanshsinghbhuee 4 года назад +1

    Thanks for this

  • @corpseguard504
    @corpseguard504 4 года назад +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 4 года назад

      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 4 года назад +1

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

  • @chump54
    @chump54 3 года назад

    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

  • @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

  • @nor_cal_trailrides9990
    @nor_cal_trailrides9990 3 года назад

    well I got this going on my x9d (fw 2.3.11) with a matek 411 and crossfire micro. It seems to be reading telemetry okay but there is a huge amount of latency (around 5s). Has anyone else experienced this or have a solution. in inav configurator the response is very fast. This would still be useful as long as the plane was in altitude or horizon mode to navigate home, but I don't think the attitude indicator would be much help for a fast recovery

  • @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

  • @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

  • @jyunte
    @jyunte 4 года назад

    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  4 года назад +1

      Yep. See my BrainFPV series...

  • @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

  • @peteinch
    @peteinch 4 года назад

    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  4 года назад

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

  • @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 3 года назад

      @@felisukofpv4002 Did you ever solve this?

    • @felisukofpv4002
      @felisukofpv4002 3 года назад

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

    • @mfoo3038
      @mfoo3038 3 года назад

      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

  • @reubenward2430
    @reubenward2430 4 года назад

    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

  • @FlatRat3
    @FlatRat3 4 года назад

    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  4 года назад

      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

  • @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

  • @ehsankeshtgar6734
    @ehsankeshtgar6734 2 года назад

    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  2 года назад +1

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

    • @ehsankeshtgar6734
      @ehsankeshtgar6734 2 года назад

      @@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  2 года назад +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 :-)

  • @whitecloudrc8715
    @whitecloudrc8715 4 года назад

    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  4 года назад

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

  • @kiwifpv5865
    @kiwifpv5865 4 года назад

    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  4 года назад +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 4 года назад

      @@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...

  • @johncarold
    @johncarold 4 года назад

    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  4 года назад

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

    • @johncarold
      @johncarold 4 года назад

      Thank you

  • @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!

  • @arctic2607
    @arctic2607 Год назад

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

    • @Painless360
      @Painless360  Год назад

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

  • @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

  • @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 2 года назад

      @@Painless360 sorry, I just received this reply. For some reason RUclips 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

  • @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

  • @badmofo350
    @badmofo350 3 года назад

    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 3 года назад

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

    • @Painless360
      @Painless360  3 года назад

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

  • @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!

  • @KwongKan
    @KwongKan 4 года назад

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

    • @Painless360
      @Painless360  4 года назад

      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 4 года назад

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

    • @Painless360
      @Painless360  4 года назад +1

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

  • @syedmuhdakram8450
    @syedmuhdakram8450 3 года назад

    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  3 года назад

      If you're talking about the artificial horizon - that is how it works - ruclips.net/video/lxVd4LnHDjQ/видео.html

    • @syedmuhdakram8450
      @syedmuhdakram8450 3 года назад

      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

  • @nor_cal_trailrides9990
    @nor_cal_trailrides9990 3 года назад

    The units are shown on the github page in imperial but they are metric on my radio. My radio setup is set to imperial. not sure where the setting is for this

    • @Painless360
      @Painless360  3 года назад +1

      Not sure, the speed and distance values are displayed based on transmitter's telemetry settings. If you are using the latest versions and still have the issue then I'd log an issue on the Projects WIKI pages.. best of luck!

    • @nor_cal_trailrides9990
      @nor_cal_trailrides9990 3 года назад

      Thanks, I'll dig into it a little more

    • @nor_cal_trailrides9990
      @nor_cal_trailrides9990 3 года назад

      @@Painless360 ok I'm an idot! I had imperial set in my radio setup but I didn't realize I had to go in and edit the units for the individual telemetry sensors.

  • @Sunnyfpv1617
    @Sunnyfpv1617 Месяц назад

    I need this for boxxer

    • @Painless360
      @Painless360  Месяц назад

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

  • @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

  • @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 ruclips.net/video/9ZmGUxCDiU0/видео.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

  • @t0pa91
    @t0pa91 3 года назад

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

    • @Painless360
      @Painless360  3 года назад

      Without more detail it's impossible to offer any advice. Happy to help but please watch ruclips.net/video/olIqTiSJHIY/видео.html and come back to me with more detail of what you've tried..

  • @sams9716
    @sams9716 4 года назад

    Would this work on SBUS as well?

    • @Painless360
      @Painless360  4 года назад +1

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

    • @sams9716
      @sams9716 4 года назад

      @@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?

  • @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