Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble using lua script for PID tuning on a BetaFlight FC
#1
I read Oscarliangs blog for using the lua script for PID tuning a BetaFlight FC but I am having some technical issues with trying to tune through my Taranis Q X7. I ccould change and save almost all parameters (PID, RC rates, super rate, RC Expo) except for the P parameters of Roll and pitch, after adjust the parameters and saving it, the values for P on roll and pitch drop to 0, I confirm that it isnt showing the wrong value because betaflight also reads 0 from the FC via USB cable. Hope someone can help.

Im using:
SP racing F3 Deluxe (one with OSD but not betaflight's OSD)
XSR with firmware version 170619
Taranis Q X7 with version 2.2.0 openTx with lua & luac
Reply
Login to remove this ad | Register Here
#2
eddie, you don't need to cross post. People will see your question in one place. Also, being new, you should try to do a search on a topic before you post. This question was answered recently. I'll let you search, but it involves downgrading the software on your XSR.
[-] The following 1 user Likes sloscotty's post:
  • eddiel454
Reply
#3
I thought the issue is on for softwae version 170605, unless the issue is persistent on version 170619 too

Update: downgrading XSR did not fix the issue, the p value still drops 0 to zero. I notice it dropping by reloading every second or so, the p value drops bit by bit at a steady constant rate.
Reply
#4
Quote:
(22-Aug-2017, 10:56 PM)TomP7715 Wrote: Have you tried flashing your XSR? just need to downgrade the XSR firmware
I had to flash mine to the previous firmware version 151118 for it to work


Eddiel, this is the quote from the thread I mentioned above - did you try to roll back that far?
Reply
#5
Try to roll back XSR version back to the 15XXXX. by the way what version of BF do you run? You might want to try 3.1.7 as well in case it's bug in 3.2 (RC)
Don't be a LOS'er, be an FPV'er :)  My Gear - Facebook - Instagram - Twitter
Reply
#6
I rolled back to 151118 on my XSR and using the 3.1.7 BF on my FC, I even switched to X8R to see if its my receiver.
Then I realized I also did something on my BF configuration in the adjustment tab such that fliping switches will adjust the P value, so I disabled them and now its all fixed, sorry for all that fails alarm. 

With that said, version 170619 with 3.1.7 BF and OpenTx Ver 2.2.0 lua works with the PID tuning lua script.

Sorry again to for the fails alarm, hope you guys will forgive me Big Grin
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Solved] Don't get any input from ELRS receiver in BetaFlight aprudnikoff 4 194 03-Mar-2024, 01:03 AM
Last Post: aprudnikoff
  Solved Betaflight 4.5 elrs rx no sticks input Mad35 7 360 26-Jan-2024, 08:47 AM
Last Post: Mad35
  Elrs receiver bound but Betaflight not working olikity 8 1,815 15-Aug-2023, 10:38 PM
Last Post: kbah
  Help R-XSR bound to TX16S but not recieving input or talking to betaflight jswillis 3 429 27-Jul-2023, 07:52 AM
Last Post: SnowLeopardFPV
  Help No stick inputs in Betaflight Josh13 6 489 30-Jun-2023, 04:40 PM
Last Post: Josh13


Login to remove this ad | Register Here