From 162aa582c4b42755dcc224e2bc694a0feb8c323c Mon Sep 17 00:00:00 2001 From: DocGarbanzo Date: Sun, 17 Nov 2024 21:06:34 +0000 Subject: [PATCH] Use threaded part with higher internal refresh rate --- donkeycar/parts/imu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/donkeycar/parts/imu.py b/donkeycar/parts/imu.py index 8c03bdd5a..c5f70f856 100755 --- a/donkeycar/parts/imu.py +++ b/donkeycar/parts/imu.py @@ -233,7 +233,7 @@ def __init__(self, alpha=1.0): i2c = board.I2C() # uses board.SCL and board.SDA self.sensor = adafruit_bno055.BNO055_I2C(i2c) self.last_val = 0xFFFF - self.sensor.offsets_accelerometer = (41, -116, -26) + self.sensor.offsets_accelerometer = (41, -115, -26) self.sensor.offsets_gyroscope = (-1, -1, -1) self.sensor.offsets_magnetometer = (-176, 196, 17) self.speed = np.zeros(3)