title_body: Why was 32kHz gyro sampling removed from Betaflight? For a while, the BetaFlight multirotor firmware supported 32kHz gyroscope polling, but now that feature has been dropped in favor of 8kHz being the highest polling rate. Does anyone know why this was removed?
upvoted_answer: In order to access the 32kHz gyro sampling mode, the gyroscopes in question (e.g. ICM 20689) would be switched to an experimental mode where there is higher gyro data jitter, and that sampling at the lower 8kHz frequency made use of lower overall latency lowpass filtering built into the gyro.
  Often to get usable gyro data from the 32kHz sampling rate, more filtering was required, and the overall phase delay response meant that the FC would not be able to start compensating for a change in craft orientation any faster.
  
  The other part is that in terms of pure filtering performance, the net gain achievable assuming identical gyro signal-to-noise ratio performance is on the order of tens of microseconds.  The bigger potential improvement would be to use the higher sampling rate to enable enhanced/fast Kalman filtering where the PID calculations can take into account more data, however, the input noise in that experimental 32kHz mode means the net improvement is minor for the computational cost involved, and that better performance is achievable at the lower sampling rate the IMU units available right now (that meet the cost and form factor requirements to install onto cheap FPV UAS systems)
  
  Practically, lower overall phase delay response with RPM notch filtering and moving lowpass filters well beyond the prop wash and flight input frequency space, which results in much better overall performance, and often reduced motor heat in flight across a wide range of flight envelopes because less amplification of gyro noise is occurring, particularly through the D term of a PID controller which amplifies higher frequency oscillations.