Skip to content

Why use 4K gyro task if readings are taken from it at 2K frequency? #10670

Answered by Jetrell
and-sh asked this question in Q&A
Discussion options

You must be logged in to vote

That's correct. 4K looptime adds no performance difference over 2K for INAV. And whether it could or even should is debatable.

There is a place for higher looptime, when it comes to freestyle and race performance... But when it comes to navigation. It would be interesting to see how betaflight is managing to use higher looptimes, now that they have more automated flight. I can only assume they are limiting it.
Higher looptimes load up the processor more, leaving less time for other high priority tasks. Which is why projects like Ardupilot only run between 272Hz and 400Hz, for processing stability.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@and-sh
Comment options

@and-sh
Comment options

@and-sh
Comment options

Answer selected by and-sh
Comment options

You must be logged in to vote
1 reply
@and-sh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants