DEFAULT_MAX_SAMPLES

const val DEFAULT_MAX_SAMPLES: Int = 1000

Most sensors at maximum speed work at 50 Hz or 100 Hz, so using this value should require approximately between 10 to 20 seconds to complete. This is hardware dependant, since different sensors might achieve different maximum sampling rates.