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
Loop time?
#1
Hi All,

I am running ZTW Spider 12A Opto Oneshot125 ESCs with a Naze32 Rev6 FC.
What loop time should I be running?


TIA.
Reply
Login to remove this ad | Register Here
#2
What firmware and version are you running on your flight controller?
Don't be a LOS'er, be an FPV'er :)  My Gear - Facebook - Instagram - Twitter
Reply
#3
(17-Apr-2016, 07:31 PM)Oscar Wrote: What firmware and version are you running on your flight controller?
I am running Cleanflight, Version 1.21.1 (current latest).
Reply
#4
The latest Cleanflight is 1.12.

In the latest version of Cleanflight, the loop time is fixed to the gyro and will be 1000, regardless of what you set. (On an F1 flight controller at least).
Reply
#5
(17-Apr-2016, 07:47 PM)Dartec Wrote: I am running Cleanflight, Version 1.21.1 (current latest).

Like what unseen said... leave it at 1000, I think that's gyro synced as well, should be good enough for most people.
Don't be a LOS'er, be an FPV'er :)  My Gear - Facebook - Instagram - Twitter
Reply
#6
(17-Apr-2016, 11:41 PM)Oscar Wrote: Like what unseen said... leave it at 1000, I think that's gyro synced as well, should be good enough for most people.

Indeed.

If you run the latest Cleanflight with the default PIDs, it works really well for most quads. Just about any quad will fly at least as well as a new flyer needs.

Keeping the gyro and loop time connected makes lots of sense, but as a flyer, you won't even start to notice the difference between synced and not synced until you start to become really good.
Reply
#7
Sorry, a typo.  I am running Cleanflight 1.12.1

In Cleanflight, under the Configuration tab, it show the loop time as 2000..

[Image: qWerSS0l.jpg]

When doing a dump of my settings it also shows as 2000..

[Image: ngmRSkMl.jpg]

So are you guys saying that even though it shows 2000, Cleanflight is actually setting it at 1000?


TIA.
Reply
#8
No you have it backwards. If you change your looptime to 2000 you will only be running at 500hz. Stock is 1000 looptime, 1000hz. The lower your looptime the faster your gyro is calculated and the faster your motors can be updates...or something like that.
Reply
#9
(18-Apr-2016, 08:54 PM)Bandook Wrote: No you have it backwards. If you change your looptime to 2000 you will only be running at 500hz. Stock is 1000 looptime, 1000hz. The lower your looptime the faster your gyro is calculated and the faster your motors can be updates...or something like that.

Then I am missing something ....

unseen said that the loop time is fixed to the gyro at 1000, but with a clean install (with stock settings) of Cleanflight, I am seeing it as 2000 ....

What am I missing?
Reply
#10
Latest CF config is V1.2.1

[Image: Screen%20Shot%202016-04-19%20at%2011.12....7b5bka.png]
My youtube channel

Reply
#11
Yes, the latest version of the Configurator is 1.2.1, but the latest version of the firmware is 1.12.1.
I assumed the other users were wanting to know what version of the firmware I was running.
Reply
#12
(19-Apr-2016, 03:00 PM)Dartec Wrote: Yes, the latest version of the Configurator is 1.2.1, but the latest version of the firmware is 1.12.1.
I assumed the other users were wanting to know what version of the firmware I was running.

Gotcha !, I thought you may have had a Dyslexic keyboard like mine and transposed the numbers incorrectly. Big Grin
My youtube channel

Reply
#13
What are we going on about? Lol. Run default looptime, whatever that is and see how it feels. Then bump it down by half and see if it still flies. Keep an eye on your CPU usage in CLI tab, and that your looptime stays where you put it. The best you can probably run on the Naze is 250lt/4000hz. But that's on betaflight. You'll have to see what others are doing with that board in Cleanflight. BTW, you will lose self level modes at those low looptimes, if that's important to u.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  OSD not showing all the time Luizmazza 1 163 21-Dec-2023, 11:10 AM
Last Post: SnowLeopardFPV
  first time building a drone, here's my setup. what mistakes did I make? hananelroe 5 468 15-Aug-2023, 06:32 PM
Last Post: iFly4rotors
  Arming iflight alpha a85 hd for the first time - HELP! ken2020 7 1,179 29-Jan-2023, 06:16 AM
Last Post: GClef
  The GPS BN 220 lost the sat fix every time I unplug and plug in a new lipo ! Rosssiiii 55 3,481 02-Jan-2023, 12:59 PM
Last Post: Rosssiiii
  Crossfire Nano Rx loses bind each time the quad is unplugged Egg_FPV 5 616 07-Dec-2022, 02:55 PM
Last Post: relentlesstech


Login to remove this ad | Register Here