From 70b33d20b3cedefedd4de3f14ec281b36cf73ca3 Mon Sep 17 00:00:00 2001 From: DocGarbanzo Date: Sun, 17 Nov 2024 20:05:33 +0000 Subject: [PATCH] update sensor offsets --- 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 a1709eaf5..54cc8e25a 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 = (43, -116, -26) + self.sensor.offsets_accelerometer = (42, -116, -26) self.sensor.offsets_gyroscope = (-1, -1, -1) self.sensor.offsets_magnetometer = (-176, 196, 17) self.speed = np.zeros(3)