Skip to content

Commit

Permalink
MPU6050.py : Kalman Filtering's options defined in a dictionary element
Browse files Browse the repository at this point in the history
  • Loading branch information
jithinbp committed Apr 30, 2017
1 parent 69da398 commit 9b0f57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PSL/SENSORS/MPU6050.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self, I2C, **args):
self.ADDRESS = args.get('address', self.ADDRESS)
self.name = 'Accel/gyro'
self.params = {'powerUp': None, 'setGyroRange': [250, 500, 1000, 2000], 'setAccelRange' : [2, 4, 8, 16],
'KalmanFilter': 'double' }
'KalmanFilter': {'dataType':'double','min':0,'max':1000,'prefix':'value: '} }
self.setGyroRange(2000)
self.setAccelRange(16)
'''
Expand Down

0 comments on commit 9b0f57b

Please sign in to comment.