File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,6 @@ def acceleration(self):
266
266
"""The x, y, z acceleration values returned in a 3-tuple and are in :math:`m / s ^ 2.`"""
267
267
self ._bank = 0
268
268
raw_accel_data = self ._raw_accel_data
269
- sleep (0.005 )
270
269
271
270
x = self ._scale_xl_data (raw_accel_data [0 ])
272
271
y = self ._scale_xl_data (raw_accel_data [1 ])
@@ -287,7 +286,6 @@ def gyro(self):
287
286
return (x , y , z )
288
287
289
288
def _scale_xl_data (self , raw_measurement ):
290
- sleep (0.005 )
291
289
return raw_measurement / AccelRange .lsb [self ._cached_accel_range ] * G_TO_ACCEL
292
290
293
291
def _scale_gyro_data (self , raw_measurement ):
@@ -746,7 +744,6 @@ def magnetic(self):
746
744
747
745
self ._bank = 0
748
746
full_data = self ._raw_mag_data
749
- sleep (0.005 )
750
747
751
748
x = full_data [0 ] * _ICM20X_UT_PER_LSB
752
749
y = full_data [1 ] * _ICM20X_UT_PER_LSB
You can’t perform that action at this time.
0 commit comments