From 4b6f36d0ad2041be3e8e939812150ca3c1adaec5 Mon Sep 17 00:00:00 2001 From: DocGarbanzo Date: Sun, 17 Nov 2024 19:51:25 +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 edddaa4ac..9f1acfbe9 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 = (44, -115, -26) + self.sensor.offsets_accelerometer = (44, -116, -26) self.sensor.offsets_gyroscope = (-1, -1, -1) self.sensor.offsets_magnetometer = (-176, 196, 17) self.speed = np.zeros(3)