Skip to content

Commit 9b0f57b

Browse files
committed
MPU6050.py : Kalman Filtering's options defined in a dictionary element
refer to fossasia#55 , and fossasia/pslab-desktop#89
1 parent 69da398 commit 9b0f57b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PSL/SENSORS/MPU6050.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self, I2C, **args):
3434
self.ADDRESS = args.get('address', self.ADDRESS)
3535
self.name = 'Accel/gyro'
3636
self.params = {'powerUp': None, 'setGyroRange': [250, 500, 1000, 2000], 'setAccelRange' : [2, 4, 8, 16],
37-
'KalmanFilter': 'double' }
37+
'KalmanFilter': {'dataType':'double','min':0,'max':1000,'prefix':'value: '} }
3838
self.setGyroRange(2000)
3939
self.setAccelRange(16)
4040
'''

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy