Skip to content

Commit

Permalink
use measured gravity vs 9.81
Browse files Browse the repository at this point in the history
  • Loading branch information
DocGarbanzo committed Sep 30, 2024
1 parent 799144c commit a83479f
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 @@ -148,7 +148,7 @@ def calibrate(self):
num_loops = 200
gyro = np.zeros(3)
accel = np.zeros(3)
accel_norm =
accel_norm = np.zeros(3)
for _ in range(num_loops):
gyro += self.mpu.gyro
accel += self.mpu.acceleration
Expand Down

0 comments on commit a83479f

Please sign in to comment.