Skip to content

Commit

Permalink
Print orientation matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
DocGarbanzo committed Sep 28, 2024
1 parent 28cc9e0 commit 50fb372
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions donkeycar/parts/imu.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ def calibrate(self):
time.sleep(0.01)
self.gyro_zero = gyro / num_loops
self.accel_zero = accel / num_loops
logger.info(f'Initial acceleration: {self.accel_zero}')
while self.ahrs.flags.initialising:
self.poll()
time.sleep(0.01)
Expand Down

0 comments on commit 50fb372

Please sign in to comment.