/* Sets the gyro sample rate and related values in the IMU_SensorFusion structure.  */
void IMU_fuseGyroSetSampleRate(IMU_SensorFusion *f, float rate)
/* Sets the gyro sample rate and related values in the IMU_SensorFusion structure.  */
void IMU_fuseGyroSetSampleRate(IMU_SensorFusion *f, float rate)
{
   f->gSampleRate      = rate;
   f->gDeltaTime       = 1.0f / rate;
   f->gDeltaTimeScale  = IMU_DEG_TO_RAD_FACTOR / rate;
   return;
}