Skip to content

Commit

Permalink
update sensor offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
DocGarbanzo committed Nov 17, 2024
1 parent 4d6267b commit df77ad1
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 @@ -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, -114, -26)
self.sensor.offsets_gyroscope = (-1, -1, -1)
self.sensor.offsets_magnetometer = (-176, 196, 17)
self.speed = np.zeros(3)
Expand Down

0 comments on commit df77ad1

Please sign in to comment.