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 @@ -267,7 +267,6 @@ def acceleration(self):
267
267
"""The x, y, z acceleration values returned in a 3-tuple and are in :math:`m / s ^ 2.`"""
268
268
self ._bank = 0
269
269
raw_accel_data = self ._raw_accel_data
270
- sleep (0.005 )
271
270
272
271
x = self ._scale_xl_data (raw_accel_data [0 ])
273
272
y = self ._scale_xl_data (raw_accel_data [1 ])
@@ -288,7 +287,6 @@ def gyro(self):
288
287
return (x , y , z )
289
288
290
289
def _scale_xl_data (self , raw_measurement ):
291
- sleep (0.005 )
292
290
return raw_measurement / AccelRange .lsb [self ._cached_accel_range ] * G_TO_ACCEL
293
291
294
292
def _scale_gyro_data (self , raw_measurement ):
@@ -748,7 +746,6 @@ def magnetic(self):
748
746
749
747
self ._bank = 0
750
748
full_data = self ._raw_mag_data
751
- sleep (0.005 )
752
749
753
750
x = full_data [0 ] * _ICM20X_UT_PER_LSB
754
751
y = full_data [1 ] * _ICM20X_UT_PER_LSB
You can’t perform that action at this time.
0 commit comments