-
No filtration or accumulation are used in gyro task. So half of readings just discarded. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
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. |
Beta Was this translation helpful? Give feedback.
-
Actually, the original statement of
is false. The gyro sampling routine running at 4kHz read gyro values and then runs it through a antialiasing filter so it can be safely ingested by the main PID loop without any artifacts. There is no need to run PID loop at 4kHz or 8kHz as there are no frequencies coming from flight that require such fast processing rate. |
Beta Was this translation helpful? Give feedback.
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.