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 2735fd8 commit b0b23ba
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 @@ -238,7 +238,7 @@ def __init__(self, alpha=1.0):
self.sensor.offsets_magnetometer = (-176, 196, 17)
self.speed = np.zeros(3)
self.pos = np.zeros(3)
self.accel = np.array(self.sensor.linear_acceleration)
self.accel = np.zeros(3) # np.array(self.sensor.linear_acceleration)
self.path = []
self.time = None
self.on = True
Expand Down

0 comments on commit b0b23ba

Please sign in to comment.