Skip to content

Commit

Permalink
move imufusion into imu part
Browse files Browse the repository at this point in the history
  • Loading branch information
DocGarbanzo committed Sep 27, 2024
1 parent 1e40a2c commit eccc7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion donkeycar/parts/imu.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def __init__(self):
i2c = busio.I2C(board.SCL, board.SDA)
self.mpu = adafruit_mpu6050.MPU6050(i2c)
self.mpu.accelerometer_range = adafruit_mpu6050.Range.RANGE_2_G
self.mpu.gyro_range = adafruit_mpu6050.GyroRange.RANGE_250_DPS
self.mpu.gyro_range = adafruit_mpu6050.GyroRange.RANGE_500_DPS
# set filter to 44Hz data smoothing
self.mpu.filter_bandwidth = 3
self.accel_zero = None
Expand Down

0 comments on commit eccc7f1

Please sign in to comment.